ridiculousfish
211b9ea8b9
Added terlar's prompt, and robbyrussell which was inadvertently omitted
...
https://github.com/fish-shell/fish-shell/issues/329
2012-10-15 18:45:46 -07:00
SanskritFritz
956f99365a
Some new completions and modified some others.
2012-10-02 17:54:30 -07:00
SanskritFritz
9904415144
Facelift for pacman completions.
2012-10-02 17:54:30 -07:00
SanskritFritz
83febbdc7d
Package groups were completed as repos. Fixed.
...
By default fish expands arguments along with options. This is not desired,
so made sure they are expanded only when needed, for performance reasons.
2012-10-02 17:54:30 -07:00
maxfl
c7e24488eb
fix output
2012-09-22 23:49:26 -07:00
maxfl
fe7d2c57e3
nmcli completions
2012-09-22 23:49:26 -07:00
Peter Ammon
86a978d9ee
Fixed web_config prompt to work with Python 2.6.1
2012-09-10 02:11:06 -07:00
ridiculousfish
f6fe3df59b
Fix to make prompt chooser work in Python3
2012-09-06 19:01:07 -07:00
ridiculousfish
e0764bb25e
Improve python3 compatibility in webconfig.py
2012-09-06 02:03:21 -07:00
ridiculousfish
1ba0bfd10c
Renamed hyperminamlist prompt
2012-09-06 01:52:21 -07:00
ridiculousfish
3589554028
Allow setting the prompt from web_config
2012-09-06 01:30:26 -07:00
ridiculousfish
de5223db66
Improve documentation and error reporting for elseif.
2012-09-01 02:14:13 -07:00
Torsten Grust
122791646e
Fix check for non-empty argument (= initial tab) in fish_config
...
The original version (based on 'test') was creating spurious files named "0" in the current working directory
2012-08-30 13:17:32 +02:00
ridiculousfish
b5e92a831b
Use xdg-open instead of BROWSER, if available
...
https://github.com/fish-shell/fish-shell/issues/293
2012-08-25 13:02:58 -07:00
maxfl
a2788129ff
Minor updates
...
* Add -L/--long completion for 'set' command.
* Fix completion description color.
2012-08-25 00:54:47 -07:00
ridiculousfish
3606664cf7
Merge branch 'webserver' of git://github.com/simukis/fish-shell into simukis-webserver
...
Conflicts:
share/tools/web_config/webconfig.py
2012-08-20 12:03:39 -07:00
ridiculousfish
81f45208b0
Make history deletion from web config work properly with Unicode under both Python2 and Python3
...
Make the filter search field hide properly in tabs where it's non-functional
Fixes https://github.com/fish-shell/fish-shell/issues/265
2012-08-20 11:58:54 -07:00
Simonas Kazlauskas
ef566836c4
Wipe unnecessary as
statement
2012-08-19 23:26:15 +03:00
Simonas Kazlauskas
10dfca1a75
Decode data in python3 – Fixes #265 .
...
In both in python2 and python3 parse_qs expects str object. In
python2 it worked ok, because self.rfile was open in binary mode and
str in python2 is actually a string of bytes. However in python3 str is
actually string of unicode literals, not bytes and file was still open
in binary mode. Thus, deleting any file with non-ascii byte inside
filename failed in python3.
Also, cgi.parse_qs is deprecated and shouldn't be used.
2012-08-19 23:19:07 +03:00
Simonas Kazlauskas
b3e3f041fe
Remove trailing spaces and replace tabs with spaces
2012-08-19 22:55:50 +03:00
ridiculousfish
f41a699f5d
Fix to make the choose-a-port loop work correctly for webconfig.py under Python3
2012-08-17 01:14:05 -07:00
ridiculousfish
7d029778e6
Disable file completion descriptions per https://github.com/fish-shell/fish-shell/issues/279
2012-08-15 18:20:44 -07:00
Scott Leggett
ad6645c48d
Implement completion for 'dd'.
...
Closes #267 .
2012-08-12 22:05:12 +10:00
maxfl
1070b34996
Get rid of 'nothing appropriate' output when completing.
...
Add watch completion.
2012-08-04 11:20:03 -07:00
Bruno Pinto
dc837eb8a3
completion for rbenv
2012-07-28 13:45:47 -03:00
ridiculousfish
f6b76e6ecb
Fix to allow specifying an initial tab in fish_config
...
For example, you can run "fish_config history"
2012-07-27 13:40:43 -07:00
ridiculousfish
e7cbcc83a4
Implemented history deletion from fish_config
...
Fixes https://github.com/fish-shell/fish-shell/issues/250
2012-07-27 00:31:00 -07:00
Kevin Ballard
b604321169
Fix showupstream behavior in __fish_git_prompt
...
The __fish_git_prompt_show_upstream helper function was inadvertently
looking at the misnamed variable __fish_git_prompt_show_upstream in some
cases, including when implementing the bash.showUpstream override.
Fixing the script to use __fish_git_prompt_showupstream triggered an
infinite loop because the --on-variable hook does not distinguish
between local and global variables.
Update the script to set a completely different local variable to
__fish_git_prompt_showupstream and to override this local variable for
bash.showUpstream.
Also update the code that looks at bash.showUpstream to also read
bash.showupstream, because the bash script appears to have a bug where
it looks for bash.showupstream despite documenting bash.showUpstream.
2012-07-26 15:32:27 -07:00
Siteshwar Vashisht
32d2d0f0d0
Minor refactoring and fixed a bug in history function
2012-07-24 04:35:37 +05:30
maxfl
7e321afd2a
pacmatic and dmesg completions
2012-07-16 10:03:01 +08:00
Kevin Ballard
b1281c3fb9
Update __fish_git_prompt.fish to handle git-svn better
...
Git-svn remotes can have a prefix for their remotes. If I set a prefix
of 'svn/' then my remote trunk branch is called svn/trunk. Update the
script to use the svn-remote.*.fetch key to figure out how the 'trunk'
branch is mapped into the remotes namespace and apply this to the
current branch. This assumes branches are mapped into the same
namespace, which is likely. It also doesn't work for tags, but neither
did the old code.
2012-07-13 21:46:57 -07:00
ridiculousfish
830fba64b1
Fix for https://github.com/fish-shell/fish-shell/issues/42
...
Remote completions in scp
2012-07-11 17:20:58 -07:00
ridiculousfish
a04f31c5c0
Fix for https://github.com/fish-shell/fish-shell/issues/218
...
make help smarter on OS X (don't show useless builtin man page)
2012-07-09 18:46:14 -07:00
ridiculousfish
0c8c32cd03
Fix for https://github.com/fish-shell/fish-shell/issues/105
...
Not sure why the escape character was being printed in the manpage completions script
2012-07-08 17:35:07 -07:00
ridiculousfish
4912967eab
Large set of changes related to making fish relocatable, and improving the build and install story.
...
- etc/config.fish and share/config.fish are now "universal" and no longer reference install paths or need to be touched by autotools. They've been removed from config.fish.in to config.fish.
- fish now attempts to determine __fish_datadir and __fish_sysconfdir relative to the path of the fish executable itself (typically by walking up one directory). This means that you can copy the directory hierarchy around and things will still work. The compiled-in paths are used as a backup.
- The fish Xcode project now can build fish natively, without needing autotools.
- Version bumped to 2.0
2012-07-08 15:20:39 -07:00
ridiculousfish
60ef7903e2
Tweaked __fish_print_help to not spew errors
2012-07-06 16:31:06 -07:00
ridiculousfish
ee8fd21d28
Fix for https://github.com/fish-shell/fish-shell/issues/209
...
Don't hang if stdin is closed and we have no bindings
2012-07-06 16:25:59 -07:00
Emily Eisenberg
d07e78c59a
Make prompt_pwd make a lot more sense
...
Remove the case statements, which were handled by the sed blocks anyway
Move around the '/' character in the regex, so only one regex is needed
Fix a bug where '/' is output as '//'
2012-07-06 14:46:50 -07:00
maxfl
ea4b37d5c5
Fixed case behaviour
...
* case no properly handles -h and --help flags, i.e. treats it as
pattern
* fixed case escaping:
The following expressions now work correctly:
switch '*'
echo '*'
echo Match any string
end
switch '*'
echo '\*'
echo Match asterix
end
switch '\\'
echo '\\\\'
echo Match slash
end
The same for '?' sign
2012-07-05 14:17:25 -07:00
maxfl
fe26284376
Doc is updated
...
btw. funced completion is updated
2012-07-01 14:20:43 -07:00
maxfl
ab62fe6496
Update funced
...
* Editor mode is no the default
* Use -i or --interactive or -e fish to edit function in interactive
mode
* tmpname is now created with random number added and check that file
do not already exist
* check $TMPDIR existence and put /tmp if it does not exist
* There is an undocumented feature to use functions, started with dash.
Introduce necessary changes to funced, functions, def_function()
in order to make it work properly.
* Delete editor guessing. Use $EDITOR variable or -e key
2012-07-01 14:20:43 -07:00
maxfl
e5939d1a18
Disable default fish_pager_color_secondary
...
since it should be different, depending on terminal background
2012-06-29 18:53:22 -07:00
maxfl
a02aa7a316
Step coloring for fish_pager introduces new variable
...
fish_pager_color_secondary to set background of every second completion
line. It simplifies finding the options corresponding to given
description. Default color is 151515.
2012-06-29 18:53:22 -07:00
ridiculousfish
a8bae31939
Change funced script to default to using $EDITOR if set, and to allow -e to specify a particular editor (with fish meaning the builtin editor)
2012-06-29 18:35:26 -07:00
maxfl
faea588fb8
Support editing functions starting with dot
2012-06-29 16:42:34 -07:00
maxfl
792e246262
Add emacs to 'funced -e'
...
The order is also changed.
2012-06-29 16:42:34 -07:00
maxfl
85f19f9b8c
Add -e option to funced
...
New option -e or --editor allows to edit function inside external
editor, rather than in reader.
2012-06-29 16:42:34 -07:00
maxfl
e995cc9329
fix #177 (complete 'cd' only with paths)
2012-06-26 19:17:32 -07:00
Kevin Ballard
1eddc79a90
Remove __fish_git_prompt's switch bug workaround
...
With the switch bug fixed, __fish_git_prompt can be very slightly
simplified by not recording the exit status of every case in the
describe style switch individually.
2012-06-25 15:19:47 -07:00
Kevin Ballard
1a93cbba1e
Bring prompt_pwd under Darwin to parity with non-Darwin
...
The echo command to print the last path segment got a couplel of fixes,
but these fixes were only applied to the non-Darwin version. Copy these
fixes over to the Darwin version. Notably, this makes `/` stop
displaying as `//`.
2012-06-24 14:04:43 -07:00
Kevin Ballard
529d410bec
Fix prompt_cwd on darwin systems when $PWD is "/private"
...
When $PWD is "/private", the prompt was printing "rivate". Skip the
"/private" stripping if there's nothing after it.
Prevent "/private" from being stripped anywhere but the beginning of the
PWD.
Fixes #173
2012-06-24 14:04:43 -07:00
Kevin Ballard
4d1c0eaa52
Fix var set in __fish_config_interactive.fish
...
__fish_config_interactive.fish uses the presence of __fish_init_1_50_0
to decide whether it should perform a one-time initialization of
universal variables. Unfortunately, it sets the variable
__fish_init_1_23_0. Fix this to set __fish_init_1_50_0 instead.
2012-06-24 13:57:15 -07:00
Kevin Ballard
3f7fe94009
Tweak documentation for __fish_git_prompt
...
Add mention of the __fish_git_prompt_color variable.
2012-06-21 11:14:01 -07:00
Kevin Ballard
ae593decfc
Replace __fish_git_branch_prompt.fish with __fish_git_prompt.fish
...
__fish_git_prompt.fish is a complete port of the __git_ps1 function from
git-completion.bash, with the relevant configuration variables changed
and some extra configuration added (namely, control over individual
colors and the status indicator characters).
2012-06-21 11:03:15 -07:00
ridiculousfish
9228dffe5e
Don't generate completions if we already have bespoke completions in the data directory
...
Fixes https://github.com/fish-shell/fish-shell/issues/148
Also fix some Python3 issues
2012-06-18 13:59:34 -07:00
ridiculousfish
1bead8adf7
Fix to create_manpage_completions.py to flush after every line (so you see more progress) and to put the cursor at the beginning (so it doesn't jump around)
2012-06-17 15:19:55 -07:00
Evan Jones
01780f19b1
Fix other usages of \n in sed replacements.
2012-06-17 15:01:04 -07:00
Evan Jones
1fa0c4d4d3
alias: Support seds that don't support \n in replacements.
...
This makes the alias command work on Mac OS X.
2012-06-17 15:01:04 -07:00
ridiculousfish
ebfa285122
Teach __fish_print_help.fish about the new man path
2012-06-17 14:46:24 -07:00
ridiculousfish
f2b5292bcb
Squashed commit of the following:
...
commit 33358874f1c275d8b08186e29f24a7889d2b5224
Author: maxfl <gmaxfl@gmail.com>
Date: Thu Jun 14 11:01:13 2012 +0400
revert fish_pager
commit cee1bc8a66ec3adc9573b76e1aca3131cd32db83
Author: maxfl <gmaxfl@gmail.com>
Date: Thu Jun 14 10:57:41 2012 +0400
revert fish_pager.cpp
commit 27f3bd39dd9903009503d20a59a9e2ba84add07a
Author: maxfl <gmaxfl@gmail.com>
Date: Wed Jun 13 17:35:20 2012 +0400
__fish_complete_command now can understand '--arg=option' tokens
latexmk completion is updated
commit 97b53a4b53de9389675783f3e90f58215d936356
Author: maxfl <gmaxfl@gmail.com>
Date: Wed Jun 13 16:46:47 2012 +0400
. completion
commit d5b63b9963b0a02a71f564e7392171c5eab005cd
Author: maxfl <gmaxfl@gmail.com>
Date: Wed Jun 13 16:46:13 2012 +0400
a lot of new completions
commit ceab87d99425124aa010c64ed062e27202b850d2
Author: Maxim Gonchar <gonchar@myhost.localdomain>
Date: Tue Jun 12 20:19:31 2012 +0400
A lot of new completions.
Some small updates and fixes of old functions and completions.
commit 950aecd570b51e1b9dc444cc651b282a220e8d94
Author: Maxim Gonchar <gonchar@myhost.localdomain>
Date: Tue Jun 12 20:03:44 2012 +0400
step-coloring initial
set_color correction
2012-06-15 17:30:33 -07:00
Gour-Gadadhara Dasa
3a94f6e8b3
initial version of Bazaar completion (created automatically)
2012-06-15 17:18:15 -07:00
Tim Gray
dbde7033d8
Added completions for brew (Homebrew)
...
An OS X package manager.
http://mxcl.github.com/homebrew/
2012-06-15 16:29:26 -07:00
Siteshwar Vashisht
9b781c4c06
Modified alias.fish to show help message when executed with 0 arguments
2012-06-13 00:29:05 +05:30
Siteshwar Vashisht
25f9105a97
Made history --help show history man page and history is now saved only once while deleting items
2012-06-12 14:20:07 +05:30
Siteshwar Vashisht
602109bd8d
Some improvements in bash configuration importer script
2012-06-12 11:08:30 +05:30
ridiculousfish
64afada7f0
Switched from using 'type' to 'functions --query' since it's a lot cheaper
2012-06-10 00:21:11 -07:00
adisbladis
9f563f4873
Introduced fish_user_keybindings
2012-06-10 00:21:11 -07:00
Siteshwar Vashisht
e96dabadf1
Add Rekonq in list of browsers to display help
2012-06-08 21:11:26 +05:30
Siteshwar Vashisht
b6601338c2
Made C-d delete characters in multiple lines.
2012-06-07 21:18:02 +05:30
Siteshwar Vashisht
23ce927301
Fixed a bug in manpage generator.
2012-06-07 20:48:54 +05:30
Siteshwar Vashisht
c7941fc7b0
Use manpath instead of man --path to find man page paths.
2012-06-07 00:00:43 +05:30
Siteshwar Vashisht
1078ad9ae9
Fixed following bugs in history function:
...
1. history function without any argument now correctly shows user's command history.
2. history --save now saves user's command history.
2012-06-06 20:54:27 +05:30
adisbladis
c0085cbc61
Python3 fixes in import_bash_settings.py
2012-06-05 20:40:51 -07:00
Adam
a49d245b92
Python3 fixes for webconfig.py
2012-06-05 20:40:51 -07:00
Adam
4e3acdcbdc
Unicode error fix in manpage completion with python3
2012-06-05 15:26:11 -07:00
Adam
85f808130d
Manpage generation now works with python3
2012-06-05 15:26:11 -07:00
ridiculousfish
53cba2a2e6
Improved webconfig.py's handling of combined term256 and classic colors
2012-06-05 01:19:59 -07:00
ridiculousfish
d871095d0b
Updated "last run version" to __fish_init_1_50_0. Updated colors for non term-256 compatibility
2012-06-05 01:01:30 -07:00
ridiculousfish
3836bfe5a1
Added history completion file
...
Updated history function to assume --search as the default behavior
2012-06-05 00:40:42 -07:00
ridiculousfish
be1d216b34
Relnoted history builtin
...
Tweaked validation regex to use extended regexs
2012-06-04 23:54:43 -07:00
ridiculousfish
85cbb943b5
Tweaks to the history function
2012-06-04 23:40:08 -07:00
Siteshwar Vashisht
ec34f2527a
Adding history builtin
2012-06-05 09:54:42 +05:30
adisbladis
377d93d1cf
Missing -s to which fixed
2012-05-30 21:08:44 +02:00
Peter Ammon
9d8ae184c9
Fix for annoying messages when launching on SnowLeopard
...
Fix for missing .o file in Makefile.in
2012-05-30 00:22:45 -07:00
ridiculousfish
4afdcf56fc
Tweak a few default colors
...
Fix the make_pkg script to actually build an installable package that doesn't immediately barf
2012-05-29 21:14:19 -07:00
ridiculousfish
673faf7152
Fixed builtin_test to properly handle "just a strings" in combining expressions, like 'test foo -a bar'. This was causing error messages in the help function.
...
Fixed help function to know about OS X and use the open command to open web pages.
2012-05-20 12:58:03 -07:00
ridiculousfish
d09c9fba02
Added a -s option to echo to mean "don't output spaces"
...
Replaced default prompt to stop calling printf. I opened a bug to replace the default prompt entirely with one that's cheaper.
2012-05-19 16:59:56 -07:00
ridiculousfish
4bd63020ca
Fix to add a little explanatory text to colors in the web config interface
2012-05-08 17:10:38 -07:00
ridiculousfish
0e4f2cca01
Fix to stop setting a default CDPATH
2012-05-05 14:34:59 -07:00
ridiculousfish
fe7fa46d57
Make dirh, nextd, prevd work on OS X
2012-05-04 18:53:38 -07:00
ridiculousfish
007c5bc9f0
Workaround difference between BSD and GNU seq in dirh
...
dirh still doesn't make any sense
2012-05-04 18:37:24 -07:00
ridiculousfish
ecab34c787
Make gettext function use echo instead of printf to save a fork
2012-04-25 13:37:41 -07:00
ridiculousfish
307ea6dce2
Removed extra newline from Goodbye output
2012-04-25 13:37:01 -07:00
ridiculousfish
d456b4f68e
Removed useless deroff.py import from bash settings
2012-04-25 13:36:21 -07:00
ridiculousfish
953ab4b3cf
Clean up __fish_config_interactive a little bit
2012-04-24 11:12:04 -07:00
ridiculousfish
fb2ed355ec
Improve fork reporting
...
Save a couple of forks during init
2012-04-24 10:10:43 -07:00
Siteshwar Vashisht
dc23af6b32
Fixed setting PATH variable in import_bash_settings.py
2012-04-22 00:18:40 +05:30
ridiculousfish
b1bfa71338
Merge branch 'master' into CPlusPlus
...
Conflicts:
builtin_commandline.cpp
util.c
2012-04-18 13:41:39 -07:00
ridiculousfish
725982cc5b
Fix to try to remove Python 2.7 dependency
2012-04-15 19:45:44 -07:00
ridiculousfish
f977dfcfe7
Deroffer optimizations
2012-04-15 19:22:30 -07:00
ridiculousfish
15079fa3bd
Some more deroff optimizations
2012-04-15 04:41:20 -07:00
ridiculousfish
79a92120ef
Speed improvements to deroffer
2012-04-15 01:15:10 -07:00
ridiculousfish
49ece586d5
Added a fish_update_completions function to run the manpage completion file
...
Added some pretty progress reporting to that script
Added some comments to deroff.py
2012-04-11 19:05:43 -07:00
ridiculousfish
2ec0778d78
Make create_manpage_completions output to ~/.config/fish/completions by default, and also discover man pages from reading the manpath
2012-04-11 18:26:26 -07:00
ridiculousfish
cccd1cefbe
Make the web config page have a title and pass W3C validation
2012-04-11 18:26:10 -07:00
ridiculousfish
ceb32f63e7
Deroffing completion work
2012-04-09 20:17:54 -07:00
ridiculousfish
576c12b184
Deroffer work
2012-04-09 20:17:54 -07:00
ridiculousfish
8585e0e9b8
Various improvements on completion tool
2012-04-04 12:43:12 -07:00
ridiculousfish
7394374a15
Work on improving the output of the manpage completion script
2012-04-03 18:38:25 -07:00
ridiculousfish
37defa739b
Fix for an extra line at the end of the variable listing
...
Once again, fix the issue where some color cells aren't clickable
2012-04-01 01:31:38 -07:00
ridiculousfish
51ed3fbc4b
More work to try to make webconfig's layout correct under firefox
2012-04-01 00:53:53 -07:00
ridiculousfish
f930303d3e
Fix for an issue where you can't select the top row of colors
2012-03-31 15:38:30 -07:00
ridiculousfish
ff17101316
A little better support for non-term-256 colors in web config
...
Fix for a deadlock when autoloading a function triggers autoloading another function
2012-03-31 15:17:14 -07:00
ridiculousfish
0f63e1f988
Some work towards improving manpage completions
2012-03-30 10:00:01 -07:00
ridiculousfish
a62f300753
Make the color picker cell borders appear correctly in Firefox
2012-03-27 19:00:03 -07:00
ridiculousfish
a11687fc5c
Make the functions builtin have a bit nicer output
...
Stop autosuggesting things with newlines
Make webconfig a little nicer
2012-03-25 22:41:22 -07:00
ridiculousfish
fa346cec3b
Moved some Python scripts into new share/tools/ directory.
...
Added fish_config function to launch web config
2012-03-25 18:38:33 -07:00
ridiculousfish
ce859c9e92
Added some missing calls to setup_fork_guards() in utilities.
...
Made echo a builtin
2012-03-07 11:35:22 -08:00
ridiculousfish
8ed20f3c28
Removed pwd.fish, which made the home directory print out with ~ (annoying)
2012-03-07 10:53:08 -08:00
ridiculousfish
0a4c72e78b
Added color.h, color.cpp. Got term256 colors working.
2012-02-12 18:05:59 -08:00
ridiculousfish
382ffe9b6a
Added autosuggestion color variable fish_color_autosuggestion
...
Fixed that nasty bug where fish would apply a color to both the foreground and background (yuck)
2012-02-06 20:14:19 -08:00
Jan Kanis
b0c6d891e9
reviewed merge reqest 14:
...
* fixed some whitespace inconsistencies
* changed variable handling in __fish_complete_subcommand_root
2012-01-25 01:14:47 +01:00
Jan Kanis
344b9bdba3
Merge branch 'master' into merge-requests/14
2011-12-17 14:19:29 +01:00
Jan Kanis
834ea94eb9
update aptitude completions, patch by Dániel Ugra, closes Launchpad bug 238282
2011-09-25 01:24:34 +02:00
Jan Kanis
a060cc5893
uniq doesn't filter duplicates that aren't consecutive, use sort -u
2011-09-23 21:59:50 +02:00
gonchar
7ef0b3b821
*wvdial completion fixed
2011-09-23 18:40:14 +04:00
gonchar
39a2fd1717
* git rm and git status options are added
...
* ssh subcomand completion
* __fish_complete_subcommand now can skip variable number of tokens
2011-09-23 14:51:14 +04:00
gonchar
c66ec4df3d
* __fish_complete_subcommand_root now passes arguments to
...
__fish_complete_subcommand
* sudo:
- now can be completed bu group and user (-u and -g keys).
- subcommand completion is fixed
* __fish_complete_proc.fish is added to complete killall command with
list of running processes
* __fish_complete_tex.fish is updated with common options
* __fish_make_completion_signals.fish is added to make a list of kill
signals for kill and killall
* completions:
- minor filetype completions are added for djview, xpdf, mupdf, gv,
xdvi
- adduser is copmleted by user and group
- dlocate and dpkg are completed by packages
- find: -executable options is added
- htop: options
- funced and funcsave are completed by function names
- ifdown and ifup are copmleted by interfaces
- kill and killall: options, signals and processes
- latexmk, ln, nm: options
- lualatex and xelatex copmletions
- sudo: -u and -g options
- wvdial: presets
2011-09-23 12:24:21 +04:00
Mark A. Miller
35af336ff6
Fix an old, old reference to a long-gone fish function for gem.fish
2011-08-13 23:50:54 -05:00
Grissiom
157ca12d4b
Merge commit 'refs/merge-requests/12' of git://gitorious.org/fish-shell/fish-shell into merge-requests/12
2011-07-28 10:06:19 +08:00
Andreas Raster
1ae44c6b3c
still didn't work correctly, there were delimiters missing in the conditional as well
2011-06-24 02:45:05 +02:00
Andreas Raster
b2887477e3
last commits fix now also applied in the 'else' clause
2011-06-21 23:17:03 +02:00
Andreas Raster
8e2db29c9a
fixed an issue when trying to complete something like 'cd /mnt/windows7/Program\ Files\ \('
...
fish would always spew a huge error message all over my terminal complaining about
some kind of tokenizer error, this patch fixed that
2011-06-21 17:02:49 +02:00
Shaun Reich
d38de7365a
Change git-symbolic-ref to git symbolic-ref.
...
On my system at least (fedora 15), git-symbolic-ref is an invalid
command. Not sure if it's a BIC change from git itself, a distribution
thing, or a mistake on my end. Either way, no harm in using the
extended version. Now I get git branch status (yay).
2011-06-19 14:14:40 -04:00
Christopher Nilsson
2583638f4b
Merge commit 'refs/merge-requests/8' of git://gitorious.org/fish-shell/fish-shell into merge_request_8
2011-01-11 23:22:27 +11:00
James Bowlin
46986ad4c2
Use eix instead of emerge when possible
...
On Gentoo the eix program is MUCH faster than emerge for listing package
names. I've left the emerge code in as a 2nd choice because not every
Gentoo system has eix installed (although they should). Also, the
emerge code didn't seem to produce any output on my system.
Signed-off-by: Grissiom <chaos.proton@gmail.com>
2010-12-02 01:33:56 +08:00
Dylan Smith
fd4ac87382
funcsave: Fixed error and help handling.
...
Renamed references to the previous command name of save_function to
funcsave, and returned an error after printing the help text when no
arguments are specified.
2010-12-02 01:13:51 +08:00
Dylan Smith
164144f126
default_key_bindings: Added mappings for ctrl-arrow keys.
...
On debian and ubuntu these control sequences are output while using
gnome-terminal and xterm.
2010-12-02 01:13:04 +08:00
Christopher Nilsson
dcecab384a
Merge commit 'refs/merge-requests/6' of git://gitorious.org/fish-shell/fish-shell into merge_req_6
2010-11-24 22:34:29 +11:00
James Vega
4f9b07e979
Allow fish_greeting to be NULL or an array
...
Treat fish_greeting as a whole when show up the greeting messages. And
the user may want to set fish_greeting to an null value or an array.
This requires that the variable be quoted when used as an argument for
switch in __fish_config_interactive.
Signed-off-by: James Vega <jamessan@debian.org>
[modified the commit message]
Signed-off-by: Grissiom <chaos.proton@gmail.com>
2010-11-24 00:49:15 +08:00
Dylan Smith
5fca92994f
help.fish: Fix the sed expression to find anchors with id or name
...
Previously the expression only searched for anchors with a name
attribute, but doxygen 1.7.1 is producing anchors with the id attribute
instead. The sed expression allows both cases for compatibility.
I also used single quotes for the sed expression to avoid escaping
double quotes.
Signed-off-by: Grissiom <chaos.proton@gmail.com>
2010-11-23 23:37:09 +08:00
Dylan Smith
6b243fbcd3
eval: (eval false) should return an error status
...
This also caused (isatty < /dev/null) to return 0 since it uses eval,
and (ls | cat) to output using the classify indicator style since it
uses isatty. This is how I found the bug.
Reviewed-by: Grissiom <chaos.proton@gmail.com>
2010-11-22 19:36:42 +08:00
Christopher Nilsson
1b0ce33669
Merged changes from codemonkey and grissiom branches
...
Conflicts:
kill.c
seq.in
2010-11-12 02:07:14 +11:00
David Frascone
ce08bb2ad2
The grep on the commands would sometimes output errors, causing noise and
...
breaking scripts.
2010-11-05 09:26:26 -06:00
Grissiom
a7af415b6a
call original grep in sgrep
...
functions/grep.fish will set the GREP_OPTIONS, which will ruin sgrep's
effort.
2010-09-19 13:56:30 +08:00
Grissiom
f8a5a59513
Revert "match the whole command for git completion"
...
This reverts commit d957d23d8f
.
Use __fish_git_using_command to test commands and __fish_contains_opt to
test arguments.
2010-09-19 11:04:24 +08:00
Grissiom
ac3dfb3f96
don't complete file names for git checkout
2010-09-19 00:19:44 +08:00
Grissiom
d957d23d8f
match the whole command for git completion
2010-09-19 00:17:53 +08:00
Grissiom
70322077d2
remove trialing spaces #2
2010-09-18 10:18:26 +08:00
Grissiom
41b8db063c
add git submodule completion
...
Merged from http://github.com/weavejester/fish-git
2010-09-17 16:38:26 +08:00
Grissiom
1b16758d7e
Fix cd prompt fail on the case that CDPATH have variables
2010-09-17 16:01:44 +08:00
axel
5fc42fcaff
prompt_pwd broken, this fix by James Reeves
...
darcs-hash:20090221104759-ac50b-35f7a896d3e62cd002605d47c090c7bec992317b.gz
2009-02-21 20:47:59 +10:00
axel
8a93b6f26d
Make xdg-version of open handle multiple files.
...
darcs-hash:20090216211103-ac50b-f8268e8d50a84457bb49ac3d1e982cba09dbfec6.gz
2009-02-17 07:11:03 +10:00
axel
07717a3570
Add possibility to define greeting function, suggested by Chris Miller
...
darcs-hash:20090216210450-ac50b-9b4f7c5bf45afaf21d51e46ff8c2b11d171fcbf2.gz
2009-02-17 07:04:50 +10:00
Nick Pilon
79784d3e18
This patch fixes a problem where prompt_pwd was printing the full path twice under OS X and probably BSDs. (Which, needless to say, made for very long prompts) The problem was that (Free?)BSD sed and GNU sed handle ? differently. For BSD sed, ? is not special unless the -E flag is specified. The {0,1} syntax should work the same way in both.
...
darcs-hash:20080122180340-5b666-21f1cdb835cbfa458a0f3d7344370837db962388.gz
2008-01-23 04:03:40 +10:00
terceiro
c08c313c0a
adds completion for Debian's invoke-rc.d command
...
Ignore-this: f9ff385e3c239cedfbc9850b06822bba
darcs-hash:20090204191757-69c1e-a55c2a720fd784c7be2534feacecd5e2ebdbeecd.gz
2009-02-05 05:17:57 +10:00
terceiro
dfd70057b3
function to put current git branch on the fish prompt
...
Ignore-this: 841402742571f399e012514315b8e4f0
darcs-hash:20090204190358-69c1e-2ebcf761a4e55bc049ff1d5bba272d722b2d4501.gz
2009-02-05 05:03:58 +10:00
terceiro
07dec5c3ed
better git completion
...
Ignore-this: af7fede5c1ee1d92c89d2887cbe54c0b
darcs-hash:20090204185826-69c1e-f72e06ad575efee258b392afd17255166ac4a260.gz
2009-02-05 04:58:26 +10:00
Isaac Dupree
9b95dda6bf
fix help for open
...
darcs-hash:20080605192305-6c1c4-ccf59a87bf7197b5d07a33d7aaeb31638aa0aa52.gz
2008-06-06 05:23:05 +10:00
axel
05341b055b
ish's current hostname completion uses ~/.ssh/known_hosts as one of its sources of information, but ~/.ssh/config may also be useful. Gather all of the 'Host' declarations from ~/.ssh/config and filter out the ones with wildcards. Signed-off-by: James Vega <jamessan@debian.org>
...
darcs-hash:20090202210242-ac50b-cf50070ee33ab6113e32a4d997d464ac4b1faf24.gz
2009-02-03 07:02:42 +10:00
axel
9d7224d756
Add support for completing aliases in ssh. Written by David Bronke.
...
darcs-hash:20090201231805-ac50b-196d4c81981efe681677fe8ca7f1cc833a4734da.gz
2009-02-02 09:18:05 +10:00
axel
33ec8b45a0
Add effectv completions, written by Stefano Sabatini.
...
darcs-hash:20090201225558-ac50b-5704829043880d0264e3e3908d324a39857ada16.gz
2009-02-02 08:55:58 +10:00
axel
1dc49a4062
Fix color ls detection for BSD and OS X systems. Patch by Sven Axelsson.
...
darcs-hash:20090201222410-ac50b-e1e02244ae950c602d3b7e67fe567920c619024b.gz
2009-02-02 08:24:10 +10:00
axel
1123467991
Fix cd function to handle empty variables correctly. Patch by Sven Axelsson.
...
darcs-hash:20090201222058-ac50b-31a7ee2db9f68729c21ba153e1439cbeabff84ce.gz
2009-02-02 08:20:58 +10:00
axel
4f54da3795
Fix user completion so it can handle comments in the passwd file. Patch by Sven Axelsson.
...
darcs-hash:20090201221921-ac50b-ef0883afe4dc68b43c1c705d49b6b5505dbf1e73.gz
2009-02-02 08:19:21 +10:00
axel
c8de3d24c8
Add netcat completions, written by James Stanley
...
darcs-hash:20090201160411-ac50b-43c34e2a73477cde40f15887a810a7b365ec81c4.gz
2009-02-02 02:04:11 +10:00
liljencrantz
3f439e9cd3
Add quilt completions, written by Stefano Sabatini.
...
darcs-hash:20080123000021-75c98-b27ae979720c55ec2219f451c50e87e79fa38cd6.gz
2008-01-23 10:00:21 +10:00
liljencrantz
75e26f0f94
Add completions for various user and group adding commands. Skip addgroup, since manual page was actually for adduser, most switches weren't applicable and I was too lazy to guess which ones.
...
darcs-hash:20080120020816-75c98-f937df6cb6789868a1385bfc3eb48f5ddefb3c43.gz
2008-01-20 12:08:16 +10:00
liljencrantz
8cacb33347
Add completions for m4
...
darcs-hash:20080119150149-75c98-d8e5060ef78c6103d51e453ee4d5265f0981c4af.gz
2008-01-20 01:01:49 +10:00
liljencrantz
bf7d62fd91
Add completions for badblocks
...
darcs-hash:20080119145849-75c98-657a11bc69fbf625b01f84f1f6638e0d4b767228.gz
2008-01-20 00:58:49 +10:00
liljencrantz
4ac31e637d
Add completions for Battle of Wesnoth
...
darcs-hash:20080119145414-75c98-6d8f856062ea44cf5de56bb014765a65ac26706b.gz
2008-01-20 00:54:14 +10:00
liljencrantz
523096e5d8
Add simple git completions by Diggory Hardy
...
darcs-hash:20080118160327-75c98-33e4e011de409944143aecf4f7e7aa8995687c75.gz
2008-01-19 02:03:27 +10:00
liljencrantz
1f6fa1208e
Search for command-not-found in PATH on startup, since older implementations place it there
...
darcs-hash:20080115122953-75c98-05ef8cb650a942c59dfa35aa63b25ccd49614dde.gz
2008-01-15 22:29:53 +10:00
liljencrantz
b86856b454
In prompt_pwd, if a directory name starts with a dot, include first two characters. This patch was written by Denilson F. de Sá
...
darcs-hash:20080116223621-75c98-46f96c9f25d5e32cd10148d35713622e6eac50d7.gz
2008-01-17 08:36:21 +10:00
liljencrantz
0a66dc4a31
Correct completions for the function builtin
...
darcs-hash:20080116222602-75c98-c1a48b4a04fe71b25c5e004a282341148a95ab6d.gz
2008-01-17 08:26:02 +10:00
liljencrantz
1a66fc4c5d
Drop vim feature of only completing text and gzip files
...
darcs-hash:20080116180249-75c98-2fdff83afcb286c7cc06d3ed66089c9cc02eca20.gz
2008-01-17 04:02:49 +10:00
liljencrantz
f3b6b74568
Oops. Made a minor but important typo in previous cleanup patch. :-(
...
darcs-hash:20080115004050-75c98-3f7f733cca054d8685ec5df68d6467057ea5be53.gz
2008-01-15 10:40:50 +10:00
liljencrantz
ab94a397c3
Drop minor typo, add a few code comments
...
darcs-hash:20080114225828-75c98-f67f17d7f3148b0bcc74ea53536d52da80667e55.gz
2008-01-15 08:58:28 +10:00
liljencrantz
537ab32dd9
Add support for the Ubuntu 'command-no-found' handler, which suggests a package to install in order to get a command.
...
darcs-hash:20080114223124-75c98-ab1658d54086394cf13f3a6210543c0b790362c4.gz
2008-01-15 08:31:24 +10:00
liljencrantz
39c16a7770
Add check for existance of fish_greeting variable
...
darcs-hash:20080112185319-75c98-3b5231b1a956c94e8800dae033f3672622104340.gz
2008-01-13 04:53:19 +10:00
liljencrantz
2aad9d5a95
Fix silly type I caused when cleaning up ant completions. Thanks to Steven Knight for the report
...
darcs-hash:20080112184928-75c98-286284df7196a479c6a2789120705f1764d619b9.gz
2008-01-13 04:49:28 +10:00
liljencrantz
52aaf60510
Fix spelling, thanks to Chris Rebert
...
darcs-hash:20080112184042-75c98-1f776d6f099003efd9a0c4ed45100c3a02e80e19.gz
2008-01-13 04:40:42 +10:00
liljencrantz
3a2f7d0edf
Add completions for the fish_indent command
...
darcs-hash:20080109031024-75c98-23e2782d68822c1005eb9766ae2d14e76ed5499b.gz
2008-01-09 13:10:24 +10:00
liljencrantz
9c38ed8238
Improve ant completions. This patch comes from Steven Knight. (minor tweaks applied)
...
darcs-hash:20080108221608-75c98-a0c7f65c65fb2e2c68085c69e72caa4a2c86a029.gz
2008-01-09 08:16:08 +10:00
liljencrantz
da4a4bcc18
Only set various startup defaults once. Even if the user removes them, do not try to reset them.
...
darcs-hash:20080108161856-75c98-7d228f7a0c62aa8be74f66ce72d0cadbc3030f5d.gz
2008-01-09 02:18:56 +10:00
liljencrantz
286ce1d6a4
Only set the fish greeting variable on the very first startup
...
darcs-hash:20080108152708-75c98-d1aa82fbcf070b74f402a6b33e687ccf615fb104.gz
2008-01-09 01:27:08 +10:00
patroclo7
5064cec16d
makepkg-completions
...
Completions for makepkg, the archlinux tool to build packages from source
darcs-hash:20071218002337-782a0-b2f26f1e8ed35e6180785f077a7a0af99f5ea804.gz
2007-12-18 10:23:37 +10:00
patroclo7
f5f5e63ddf
pacman-completion
...
Completion definitions for the pacman package manager, used by Archlinux.
darcs-hash:20071217231409-782a0-c17d12806fcd9732578a878b827af4074577c177.gz
2007-12-18 09:14:09 +10:00
patroclo7
ae878ed6ea
option-absent-function
...
Add a function which checks that an option has not been used (useful to avoid
incompatible combinations of options and necessary for the completions for
the pacman package manager.
darcs-hash:20071217230315-782a0-be39b1258832f0d2427765200d051e5d688b041b.gz
2007-12-18 09:03:15 +10:00
liljencrantz
2c5151bb78
Fix bug in key binding code causing unneeded error messages
...
darcs-hash:20071031091503-75c98-3ab5786c1f991e4ea37c33b76823a487f25fab64.gz
2007-10-31 19:15:03 +10:00
liljencrantz
54b1986986
Add command specific comlpetions for cowthink
...
darcs-hash:20071028230807-75c98-1706c8b0f2559c2f5fa9e6055c7aa60e8fc4a2f6.gz
2007-10-29 09:08:07 +10:00
liljencrantz
6e9489f4f5
Add command specific comlpetions for cowsay
...
darcs-hash:20071028230620-75c98-d137040e58b76a570234eb15603192922c4cfe01.gz
2007-10-29 09:06:20 +10:00
liljencrantz
6dfdb3ba6e
Remove bad completion for bison
...
darcs-hash:20071028184743-75c98-2f74b81cb8bfe7fe7346aa65b652d6bbe8eac4a1.gz
2007-10-29 04:47:43 +10:00
liljencrantz
48d5637178
Add command specific comlpetions for gdb
...
darcs-hash:20071028184722-75c98-a2822e20d772dde73ef13a6ce7ca56339b13864f.gz
2007-10-29 04:47:22 +10:00
liljencrantz
d724b160ea
Add command specific comlpetions for chmod
...
darcs-hash:20071028183924-75c98-e73d8ce3ba9da36a70ef849df3c309f9f188ba68.gz
2007-10-29 04:39:24 +10:00
liljencrantz
7a4dc6f700
Add command specific comlpetions for bison
...
darcs-hash:20071028183548-75c98-0027c86d0077004b7bb0408358ba3821772b2374.gz
2007-10-29 04:35:48 +10:00
liljencrantz
c9f43fb02d
Add command specific comlpetions for awk
...
darcs-hash:20071028183140-75c98-0c649a62488fa155d8170ac04a876b9ab426dbc0.gz
2007-10-29 04:31:40 +10:00
liljencrantz
da02905250
Add command specific comlpetions for acpi
...
darcs-hash:20071028182810-75c98-fc6cb8818dc8a93976802c255584cfd9c86a8958.gz
2007-10-29 04:28:10 +10:00
liljencrantz
80060229f8
Minor simplification to rpm completions
...
darcs-hash:20071028182440-75c98-dc3d22f37e1779dca7e2e88f02fc9e0d815301c9.gz
2007-10-29 04:24:40 +10:00
liljencrantz
10b9b06ef7
Add command specific comlpetions for scons
...
darcs-hash:20071028182413-75c98-41bf654fd8fe0522a8ebae19b6ecaa8a4d1f2d8c.gz
2007-10-29 04:24:13 +10:00
liljencrantz
e9aba6a878
Add command specific comlpetions for xgettext
...
darcs-hash:20071028180724-75c98-42c8d8a3810f6bdaee4ac90da1cc34371fcfacf4.gz
2007-10-29 04:07:24 +10:00
liljencrantz
5fee5a2890
Add command specific comlpetions for msgfmt
...
darcs-hash:20071028095834-75c98-d749a3fef8e28c9d5bab1cd3dfbf989aac9a8049.gz
2007-10-28 19:58:34 +10:00
liljencrantz
a5156c54cb
Make sure configuration files are only run once
...
darcs-hash:20071028091117-75c98-735febed13f816e2870e90324758ec59d713b1e2.gz
2007-10-28 19:11:17 +10:00
liljencrantz
74cd64ba21
Make sure that function and completion paths contain contain the basic fish completions/functions on startup.
...
darcs-hash:20071028091042-75c98-4e201b1b39c7c7b66ff9ec71f95b05f8d6d42708.gz
2007-10-28 19:10:42 +10:00
liljencrantz
348e991d7c
Indentation fixes, add a few comments, spelling, etc.
...
darcs-hash:20071028090840-75c98-2ae076441517cd7a0d8172fad28edaf6f034b70c.gz
2007-10-28 19:08:40 +10:00
liljencrantz
a1af86cb6b
Remove non-ascii characters from completions
...
darcs-hash:20071028090802-75c98-06f7a48a6a5590117c0293dc75b07846e86a34a1.gz
2007-10-28 19:08:02 +10:00
liljencrantz
3ca3b6209d
Make the Alt-p keybinding respect the PAGER variable
...
darcs-hash:20071006103231-75c98-59ef22ad49526f52cff8a97d9fac9f003af19213.gz
2007-10-06 20:32:31 +10:00
liljencrantz
9299515f3e
'Misfeature' fix for eval function - make it force job control when in interactive mode, in order to make commands that expect to control the terminal happy
...
darcs-hash:20071006102326-75c98-b168d709d54edb21c478ec2d69420468a2c08da1.gz
2007-10-06 20:23:26 +10:00
liljencrantz
188f0454b7
Use IO redirection to make the eval function actually have a working stdin
...
darcs-hash:20071005150245-75c98-d6a6d2f6ec1690079ee30f0e9cccf61e30e14c08.gz
2007-10-06 01:02:45 +10:00
liljencrantz
68857220ac
Make fish automatically realise a repaint is needed in more situations, making many keybinding calls to 'commandline -f repaint' unneeded
...
darcs-hash:20071005145919-75c98-ce349d3718e54df30a050b97afee48b56ab46348.gz
2007-10-06 00:59:19 +10:00
liljencrantz
8cd8c3002e
Actually make the previously defined function for reloading key bindings on chage of function into an event handler as intended...
...
darcs-hash:20070930225557-75c98-284157fbbc56effe781bf26c21499a8e5586e563.gz
2007-10-01 08:55:57 +10:00
liljencrantz
4b85eb32d7
Remove readline legacy input function 'winch' and replace its functionality with an event handler function. Once again make the null keybinding do nothing. There are various sitauations where you want to perform a repaint at just the right time, and more or less by luck it worked very well to do this on null, but this really shouldn't happen and no longer does. Hopefully if new repainting issues turn up, they can be fixed at the root instead of once again reapplying this broken bandaid.
...
darcs-hash:20070930225354-75c98-8e2b518aa0ef694cee889c1c599ff4f158d9eb7f.gz
2007-10-01 08:53:54 +10:00
liljencrantz
5870ee7723
Add input function completions for the commandline builtin
...
darcs-hash:20070930074204-75c98-670704072134326d281626dcc6c1e7dc5be66140.gz
2007-09-30 17:42:04 +10:00
liljencrantz
feec9579c2
Drop the unneeded input-function delete-line. It was only there for compatiability with readline, which we have dropped.
...
darcs-hash:20070930073018-75c98-d3abd6e63797c4954778486064f5f55a718f066c.gz
2007-09-30 17:30:18 +10:00
liljencrantz
addb5a698d
Add a few extra directories to check for in path on startup
...
darcs-hash:20070928213855-75c98-3670b961e1b16bfdc952bbd8e6eccacdc368ff6b.gz
2007-09-29 07:38:55 +10:00
liljencrantz
db0a982570
Make path checking on startup faster by only using builtin commands
...
darcs-hash:20070928213821-75c98-65fb9e2159bfef7ab04468511378ac3efbf2308e.gz
2007-09-29 07:38:21 +10:00
liljencrantz
3a73b60956
Ignore errors when autoloading keybindings
...
darcs-hash:20070928213741-75c98-8339e7f5f5b465af315efd606fe866624f958320.gz
2007-09-29 07:37:41 +10:00
liljencrantz
093cb71f91
Fix bug in exit code that made the exit builtin exit even if there where running jobs if called directly from the commandline
...
darcs-hash:20070926090159-75c98-2760c6c24e21fd14711c9ce3bef1b0890b495d65.gz
2007-09-26 19:01:59 +10:00
liljencrantz
cf8e746d0c
First stab at dropping all support for readlines inputrc files and instead using an internal system for performing keybinding.
...
darcs-hash:20070925161447-75c98-1feaef88a4b518badb7879f598f06ab650a8f93b.gz
2007-09-26 02:14:47 +10:00
liljencrantz
819c20e1d8
Fix bug causing some fish strings not to be translated
...
darcs-hash:20070923211111-75c98-3bac272b81c4af4e18968a532987d9a7be1c273a.gz
2007-09-24 07:11:11 +10:00
liljencrantz
61ebc12dd4
Minor polish like adding missing whitespace, switch to using --argument switch in function definitions to make code more readable, add a few minor saftey checks, etc.
...
darcs-hash:20070923210730-75c98-88557ba8b6020cae04a5e437c6bb6370e39c04d9.gz
2007-09-24 07:07:30 +10:00
liljencrantz
0679a6351f
Fix bug making builtin help for the '.' builtin not show up.
...
darcs-hash:20070922223828-75c98-41cf335992cd61ef5c958889714766c513d5d5f7.gz
2007-09-23 08:38:28 +10:00
liljencrantz
e1afe17671
Fix bug in eval function, forgot to turn off new scope creation.
...
darcs-hash:20070922193055-75c98-ea4a37e3ba1bce4da7d2b65ef464740cc67822e2.gz
2007-09-23 05:30:55 +10:00
liljencrantz
5ecd0e22bf
Remove a few calls to the test command in favour of the switch builtin to speed statup up
...
darcs-hash:20070922190734-75c98-0e63a0ed6685edc2c9aa941f0b26c14466c7af6a.gz
2007-09-23 05:07:34 +10:00
liljencrantz
048f903a9d
Create common function for listing available character encodings, make sure it is used in all relevant places.
...
darcs-hash:20070921211051-75c98-5ff21df5b29e8a66ef0c4488afb96acfdb6f74a2.gz
2007-09-22 07:10:51 +10:00
liljencrantz
dab7e6c7b9
Move mkae completion function to its own file
...
darcs-hash:20070921210401-75c98-6b303317ba375f0c6402e81902e599e79a9c06ed.gz
2007-09-22 07:04:01 +10:00
liljencrantz
06de2602cb
Clean up interactive mode init a bit. Move a few utility functions to their own files.
...
darcs-hash:20070921205212-75c98-b8b6f88e151e8d0d2fca21626bf8e36a22c565b1.gz
2007-09-22 06:52:12 +10:00
liljencrantz
65d223e672
Make sure all keybinding scripts repaint properly
...
darcs-hash:20070921151723-75c98-83f2fe86ace0f6e567db26faa4d94665971af145.gz
2007-09-22 01:17:23 +10:00
liljencrantz
8c4770a26c
Add boilerplate definition when using funced on undefined function
...
darcs-hash:20070921142954-75c98-752f389dfe4022ea3e72092bb717a60314408d41.gz
2007-09-22 00:29:54 +10:00
liljencrantz
2375578310
Add a few comments, remove debug message add function descriptions to up-or-search and down-or-search shellscript functions
...
darcs-hash:20070921141121-75c98-0c6b3970f766429ba5e5c674ab3f6283f1f8824c.gz
2007-09-22 00:11:21 +10:00
liljencrantz
d2d397d9eb
Make up/down cursor move up or down when in multiline mode, except if already in search mode or at the top/bottom line. Since part of this is done in script-space, this involves adding some functionality to the commandline builtin.
...
darcs-hash:20070921140549-75c98-ba9e83f5e6fdecae5df8f83dd863794c6af9770c.gz
2007-09-22 00:05:49 +10:00
axel
c9fe154c01
Avoid using test command in prompt, makes it slightly faster
...
darcs-hash:20070908191717-ac50b-c2d936bff0e7aead0aecad6aa9e024e63b72fc97.gz
2007-09-09 05:17:17 +10:00
axel
2a3b01a7a0
Avoid using -n switch to ecco
...
darcs-hash:20070908191554-ac50b-22f205c0da9dde0cbe19154ee6f4f64fed49241a.gz
2007-09-09 05:15:54 +10:00
liljencrantz
ad02bb9b48
Add a 'generic' type of event that can be emited from any piece of code or by the user. Use this event layer to perform interactive configuration startup at the correct time.
...
darcs-hash:20070819164230-75c98-f91b8a73de7bbbb500d80770ddf4d2d46ae592cc.gz
2007-08-20 02:42:30 +10:00
liljencrantz
e464b4270c
Make the prompt different when root user. This change was suggested by Claes Nästén.
...
darcs-hash:20070818230302-75c98-8015683bda0bc75aeab048e2f6509afc9809ffa1.gz
2007-08-19 09:03:02 +10:00
patroclo7
27baa6e62b
Completions for prt-get and pkgutils, the package management utilities for CRUX (Giorgio Lando)
...
darcs-hash:20070803202253-782a0-e2140559cdf45e3a543c3e9d915fe84537ee73a6.gz
2007-08-04 06:22:53 +10:00
Giorgio Lando
fa9d00a81a
Completions for ports, a tool for port management in CRUX linux
...
darcs-hash:20070804110916-cbd54-5a9d129b9cfc7bf1b8f09248631ddbfbfc0dda22.gz
2007-08-04 21:09:16 +10:00
liljencrantz
20526687b2
Drop contains function, since we now have a builtin.
...
darcs-hash:20070801225554-75c98-cbaba63efdd06277364cc9b3ef871b9e76a7edb9.gz
2007-08-02 08:55:54 +10:00
axel
782a739736
Remove confusing and misleading error message when trying to repaint the prompt during startup, reported by Chris Rebert.
...
darcs-hash:20070801180901-ac50b-43abf47182fcaa19fdbd993d480ac07f2915b6ed.gz
2007-08-02 04:09:01 +10:00
axel
cd19320ab2
Minor bug fix in mime-completion-filter - correctly handle when there is no mimetype
...
darcs-hash:20070801173955-ac50b-0459fc6049e9ee1907c368b8a5a01b6aa1973e45.gz
2007-08-02 03:39:55 +10:00
axel
91de143003
Replace the count function with a builtin for performance reasons. The count function used at least two forks, which was noticable on systems such as OS X with slow forks
...
darcs-hash:20070731212332-ac50b-8f5b2e70008ddb131dc8bae3f361d8d65a294948.gz
2007-08-01 07:23:32 +10:00
axel
2caaa7526d
Make sure completion descriptions generated by make_vcs_completions.fish are properly escaped. Thanks to Claes Næstén for the bug report.
...
darcs-hash:20070605105111-ac50b-e2cbb17047be6c6b0ddf5847507986f50c97be4c.gz
2007-06-05 20:51:11 +10:00
axel
52e7a7ec1c
Actually add the count function. Thanks to Tassilo Horn for the report.
...
darcs-hash:20070424153317-ac50b-f6ab71ad0ea9d74351169d18f1dc856a442ee3f4.gz
2007-04-25 01:33:17 +10:00
axel
5425970706
Add a fes minor completion corrections
...
darcs-hash:20070423220148-ac50b-460b1d404dca7169054459ab6c7f9845dad51a05.gz
2007-04-24 08:01:48 +10:00
axel
e2714b05eb
Launch debug shell on TRAP signal.
...
darcs-hash:20070423211026-ac50b-fccf4fb588775fbacc5cdc9f121abe417970066f.gz
2007-04-24 07:10:26 +10:00
axel
2c02b59703
Replace the eval builtin with a function
...
darcs-hash:20070422221806-ac50b-28cffc6c3063c14cd8ab30f999e3530314c78af2.gz
2007-04-23 08:18:06 +10:00
axel
dd48de068d
Add funced function, which works like vared, but with functions
...
darcs-hash:20070422185539-ac50b-9080fb745cec45609e7e29971b55b96e073806e6.gz
2007-04-23 04:55:39 +10:00
axel
c323fc226f
Add support for changing token separator in command substitution. IT is not the first character of IFS, same as in various other shells
...
darcs-hash:20070422184956-ac50b-7e03b375feb9fd22e11aa7a7d8f8add8e3b717a5.gz
2007-04-23 04:49:56 +10:00
axel
176c1a487b
Minor improvements to the completion generator and gcc completions
...
darcs-hash:20070422101414-ac50b-07612cd287d524a361e358369732c26fc9ff3b67.gz
2007-04-22 20:14:14 +10:00
axel
b4ccce2dc3
Add completion support for named function arguments
...
darcs-hash:20070421080931-ac50b-c3e482ad145c619d23cc5f19256010b5b0697c57.gz
2007-04-21 18:09:31 +10:00
axel
06688fb9ea
Change output format of complete -C to make writing case insensitive command specific completions more transparent
...
darcs-hash:20070420195506-ac50b-b5f56bb2964e65d13abfb9281ce26db2b8c341b7.gz
2007-04-21 05:55:06 +10:00
axel
91d1dee06b
Add completions for evince
...
darcs-hash:20070418224801-ac50b-83713782420d5f820add93e47b57d2289f289b61.gz
2007-04-19 08:48:01 +10:00
axel
3e030bc6c6
Add a completion function for completiong file url:s
...
darcs-hash:20070418224611-ac50b-4e457b2218751a182989f3635bb98c5e8a8b9766.gz
2007-04-19 08:46:11 +10:00
axel
b9009eba96
Remove explicit directory completion from __fish_complete_mime, we only want directory completion as a fallback in order to minimize the number of reasonable completions that are ignored. This issue was reported by Claes Nästén.
...
darcs-hash:20070417225658-ac50b-26178885ea4f8693858a74cec57a743831430634.gz
2007-04-18 08:56:58 +10:00
axel
52f9560b4f
Rename save_function to funcsave to keep consistency between function/variable functions
...
darcs-hash:20070416214453-ac50b-9ec9559fc468256dc149e92e9fece37da940ad7e.gz
2007-04-17 07:44:53 +10:00
axel
a03a4d1ba3
Add newline to error message in alias.fish. This problem was reported by flixil.
...
darcs-hash:20070412115221-ac50b-0ff23d6e2158522d10c7e799dc9f1594112f1869.gz
2007-04-12 21:52:21 +10:00
axel
94a483d46b
Minor tweak to vcs completion generation code. Most significantly, some svn command descriptions which where previously truncated are now complete.
...
darcs-hash:20070324193714-ac50b-61b10db649ef82ba8d8d658ef10cc05c2253d5f0.gz
2007-03-25 05:37:14 +10:00
axel
0f51d5ec18
Do not use makefile to generate vcs completions, do it directly in the script. Also add some minor updates to the vcs completions.
...
darcs-hash:20070224125927-ac50b-f1242b198ea0651c993b045d584262dc32062338.gz
2007-02-24 22:59:27 +10:00
axel
08eb92707a
Fix paran mismatch bug in umount completions that popped up when dropping the N_ script
...
darcs-hash:20070223163630-ac50b-efa267645ce113eab089d49d240bb3e00e9f07e5.gz
2007-02-24 02:36:30 +10:00
axel
e50f43416b
Add missing file for vi completions that is needed to complete files selectively based on mime types. Also use it to improve emacs completions, in order to balance my GNU karma.
...
darcs-hash:20070222214555-ac50b-60aa6a3e4cea77451c51d40d2a574d145f3de4fe.gz
2007-02-23 07:45:55 +10:00
axel
7118269e4b
Minor tweaks to vared function
...
darcs-hash:20070208170118-ac50b-76ea318d47de28a4437ecf0a50daea2c617017ea.gz
2007-02-09 03:01:18 +10:00
axel
4b1fced1f8
Add -u flag to case completions - case is often used to parse switches, coloring them red makes no sense
...
darcs-hash:20070205122839-ac50b-a87b86846216ad495f58825f3cb27692fc8bf269.gz
2007-02-05 22:28:39 +10:00
axel
25082b6528
Update vi/vim completions. Add __fish_complete_text function that completes using any text file, and __fish_filter_mime that filters a file list based on mimetype. This update was written by Velko Hristov with some suggestions and updates by me.
...
darcs-hash:20070204151809-ac50b-b7f3b44ac528f9e994bf0f842ee2e008866fb620.gz
2007-02-05 01:18:09 +10:00
axel
dcad2ef17b
Switch various completions to the simpler format for __fish_complete_suffix
...
darcs-hash:20070130153435-ac50b-abe42f3f464cb96db062c83084d97ef377a72e80.gz
2007-01-31 01:34:35 +10:00
axel
418192b312
Make the first and last argument to __fish_complete_suffix optional. Use mimedb to look up descriptions if not supplied.
...
darcs-hash:20070130152631-ac50b-24f1c947d88ce3ad20f31a17b58adfe02cf002e2.gz
2007-01-31 01:26:31 +10:00
axel
76d9051605
Add vim completions, written by Velko Hristov
...
darcs-hash:20070130004233-ac50b-5c48b940b29ac4f3c377bc88e2abf2e490e9df48.gz
2007-01-30 10:42:33 +10:00
axel
ca2b2103d3
Add command specific completions for xterm, written by Velko Hristov
...
darcs-hash:20070130000155-ac50b-7834a733d6bc48f3b57172fa6dc49c36680d575d.gz
2007-01-30 10:01:55 +10:00
axel
14e6bdb139
Add command specific completions for totem, written by Velko Hristov
...
darcs-hash:20070130000128-ac50b-8aec9bbe3858d03189720ed6fc9906ce8f9d4ddc.gz
2007-01-30 10:01:28 +10:00
axel
20d42378de
Remove trailing period in descriptions for darcs and svn
...
darcs-hash:20070129183116-ac50b-c4870570baaee554457413360c084209cb6a4090.gz
2007-01-30 04:31:16 +10:00
axel
ba932b6590
Add support for -s switch to read builtin, enables shell syntax highlighting in the read builtin
...
darcs-hash:20070129162624-ac50b-dff9d9ebf16ce3247b83d917efbffd4942cda83f.gz
2007-01-30 02:26:24 +10:00
axel
bbd229b206
Add command specific completions for file and locate, written by Velko Hristov
...
darcs-hash:20070128114415-ac50b-f5844d6523a9aed3ca0e881c6c125072caee4978.gz
2007-01-28 21:44:15 +10:00
axel
6a60377e02
Add -u switch to completions which can have unknown switches or which are incomplete
...
darcs-hash:20070128032652-ac50b-dae70e7b2efddbc757aae8bc7d1884ff5e010621.gz
2007-01-28 13:26:52 +10:00
axel
fcbdb6f2a7
Add command specific completions for mutt and sylpheed, written by Velko Hristov
...
darcs-hash:20070128024639-ac50b-484668bdfb13c4cd23e058224d14b8f6d52b04d0.gz
2007-01-28 12:46:39 +10:00
axel
a537b01814
Add aptitude completions, written by Velko Hristov.
...
darcs-hash:20070127231612-ac50b-0a3b6ef52a01b5b15b0b1a9f11df739d02fa353c.gz
2007-01-28 09:16:12 +10:00
axel
be0bd50bad
Remove unneeded code from isatty, fix spelling in docs
...
darcs-hash:20070127141215-ac50b-d15c657b62862841df80c55095a05e9c38086a11.gz
2007-01-28 00:12:15 +10:00
axel
5e6d1efb56
Fix a few more trailing N_ calls
...
darcs-hash:20070127020240-ac50b-6081d8cc0bc5d648b53b3ddfe878ec0f65412b6e.gz
2007-01-27 12:02:40 +10:00
axel
bc1f9b6f1c
Another batch of fixes for the VCS completions
...
darcs-hash:20070127020141-ac50b-e617fbabb234af668fa7ded7f838d66477605c8d.gz
2007-01-27 12:01:41 +10:00
axel
cfecb58bb6
Fix various completions that didno't drop the N_ no-op
...
darcs-hash:20070126012631-ac50b-4e13c06ddbf73f05a0a26824c71dbb96aa7ce0b9.gz
2007-01-26 11:26:31 +10:00
axel
11c2ec91d4
Update make_mercurial_completions.fish to also handle cvs. Correct bug causing issues in darcs completions.
...
darcs-hash:20070126012321-ac50b-caa9749f5e844ce5d06d84f2c38e282049369ed1.gz
2007-01-26 11:23:21 +10:00
axel
cc6f133368
make the make_mercurial_completions.fish script able to handle svn as well. Update svn completions.
...
darcs-hash:20070125153452-ac50b-60dce711d8614f99ba24ab9b24acfbd879d58bfa.gz
2007-01-26 01:34:52 +10:00
axel
350b637a1a
Generalize make_mercurial_completions.fish a bit so it can be used with darcs as well. Add make targets for creating darcs/hg completions.
...
darcs-hash:20070125132836-ac50b-0e7a728e4be2386d696094a414a1c8bcaee771fc.gz
2007-01-25 23:28:36 +10:00
axel
f917dccf6f
Use make_completions.py to make new completions for gcc
...
darcs-hash:20070125012757-ac50b-21408f89b71abb894850ddff452c83d130ed0401.gz
2007-01-25 11:27:57 +10:00
axel
65ef6cf217
Add completions for hg (Mercurial). These completions are autogenerated from the help commands for mercurial through the make_mercurial_completions.fish script
...
darcs-hash:20070124225136-ac50b-1636989747df4e2510905e3286dbf1871522f653.gz
2007-01-25 08:51:36 +10:00
axel
6ea3dd7dfe
Minor edit to init scripts to reduce number of non-builtins called on init
...
darcs-hash:20070121155057-ac50b-1fae99ef89abc7bc08dc31eb671bfc556e34202d.gz
2007-01-22 01:50:57 +10:00
axel
b3500bfbdc
Fix bug in rsync completions
...
darcs-hash:20070121024539-ac50b-6bef9090303c56d117633077554bb43c40f64024.gz
2007-01-21 12:45:39 +10:00
axel
f8c45324b6
Add switch completions for the rsync command
...
darcs-hash:20070121023815-ac50b-178776e2fe6c3d510f4f1342269c132797a7793a.gz
2007-01-21 12:38:15 +10:00
axel
bf5d4f6b07
Simplify completions for a few commands (svn, cvs, darcs, yum)
...
darcs-hash:20070120170940-ac50b-24c0e5b05ca03a590b90e795bbd62b15583e2bd1.gz
2007-01-21 03:09:40 +10:00
axel
9c5fb0392d
Make save_function print the help text when given no argumetns. Thanks to Alexander Kellett for the suggestion.
...
darcs-hash:20070119131538-ac50b-a77f60f557677543f38c73ffc21a209432b8b26a.gz
2007-01-19 23:15:38 +10:00
axel
e6409a88d5
Add missing completion for the commandline builtin
...
darcs-hash:20070118163104-ac50b-e33d3888efa42218881291ce1d2636ca14f10805.gz
2007-01-19 02:31:04 +10:00
axel
029be823e2
Remove the final non-builtin call from __fish_gnu_complete, to make it even faster
...
darcs-hash:20070118162853-ac50b-a31f51d53ba3121eaf6dfb4006dde00491fd53c2.gz
2007-01-19 02:28:53 +10:00
axel
81e0fcbc13
Additional performance tweak for __fish_gnu_complete
...
darcs-hash:20070116125116-ac50b-0a702bc02f9a126b36505864dcc597661a7ca2b0.gz
2007-01-16 22:51:16 +10:00
axel
b999bd9c8c
Bugfix in __fish_gnu_complete - switches could be ignored
...
darcs-hash:20070116112226-ac50b-6d6ce88d87f74a3779e4c6de6c62068c49354966.gz
2007-01-16 21:22:26 +10:00
axel
9c9a8f9d0f
Improve speed of __fish_gnu_complete on systems with no native seq implementation by avoiding using seq at all
...
darcs-hash:20070116102651-ac50b-ad7e0acd325f88d1676e4c533bc863caedf91748.gz
2007-01-16 20:26:51 +10:00
axel
7492b6cdb3
Make all descriptions for function calls use the implicit translation from the previous patch instead of explicitly using N_
...
darcs-hash:20070116012918-ac50b-c1c0df64333ad910ca81dbc86ad193ece6680722.gz
2007-01-16 11:29:18 +10:00
axel
34e27ff4c2
Drop use of the N_ no-op for translation descriptions. Instead, tell xgettext that any token following '--description' should be translated. This should greatly speed up completion loading on platforms where fork() is slow. (Hi, OS X)
...
darcs-hash:20070116011828-ac50b-fb923dc877869ded4d506bbe0bc5364eea44092f.gz
2007-01-16 11:18:28 +10:00
axel
47588c8e75
Darcs completions: Check for file existance before trying to complete using the repos file. Thanks to Alexander Kellett for the bug report.
...
darcs-hash:20070115205209-ac50b-60c03383f55bb2dc1d0f5317d907f71c63b2bb7b.gz
2007-01-16 06:52:09 +10:00
axel
00c6fcfe98
Document -f option for psub, add tab completions
...
darcs-hash:20070115181924-ac50b-6ac48aec8937e9dd172858dfa7eaaac1aca14775.gz
2007-01-16 04:19:24 +10:00
axel
c6ebb23f38
Add a -f switch to psub to use regular files instead of fifos. This makes psub work with programs that need to seek. This change was suggested by Alexander Kellet.
...
darcs-hash:20070115174330-ac50b-2349cef2d1a26a9e7c9356691bc74991135c1d2c.gz
2007-01-16 03:43:30 +10:00
axel
e56d9765d7
Add missing completions to ulimit
...
darcs-hash:20070112152048-ac50b-b402f5e5fb9bfa0720b7b89de465d06bf66a1ac3.gz
2007-01-13 01:20:48 +10:00
axel
f398b2eafa
Remove comments from apropos matching in function for getting description for command from whatis database
...
darcs-hash:20070107142000-ac50b-0221d36e24d3d68f0a25535e7a7b303e4fb84abe.gz
2007-01-08 00:20:00 +10:00
axel
3b4bacb5ba
Allow the user to specify name of history file to use with the read builtin
...
darcs-hash:20070106142430-ac50b-32ad52077e11438799b17911dc83e57f89e02f2b.gz
2007-01-07 00:24:30 +10:00
axel
7e350dab66
Update the dcop completions. This update was written by David Bitseff.
...
darcs-hash:20070106130722-ac50b-a73277cfccbf456595f0fb7ceeb18d23b2f744ab.gz
2007-01-06 23:07:22 +10:00
axel
2ec7428e32
Add iconv completions
...
darcs-hash:20061226142933-ac50b-dd385732a0337f215855db4c517dc1bab52b2aca.gz
2006-12-27 00:29:33 +10:00
Tassilo Horn
594f81ec8c
svn-delete-completion.dpatch
...
darcs-hash:20061221212334-c06f4-2db8d07267b142165302d63fd94fdc0eb9f6f791.gz
2006-12-22 07:23:34 +10:00
axel
9767b76881
Fix minor type in 'find' completions
...
darcs-hash:20061219152443-ac50b-989d374683f181a5fc41d162f2a0793ca31227ac.gz
2006-12-20 01:24:43 +10:00
axel
0ace93c2a4
Fix yet another place where the 'builtin' builtin was used in stead of 'command'
...
darcs-hash:20061214182409-ac50b-60af38f1b1edcafcf1c0aff9c64094b92a84e5fc.gz
2006-12-15 04:24:09 +10:00
axel
c73d165165
Make the directory history keyboard shortcuts repaint the screen. Otherwise, the prompt won't reflect the new CWD. This is needed because of the reduced amounts of repainting done since 1.22.2
...
darcs-hash:20061214182313-ac50b-a912bcc0fac6e1d78f116e19f31f1c50ffc409cb.gz
2006-12-15 04:23:13 +10:00
axel
4d368dc06c
Do not add --help completions for builtins at init time. These completions are already present in the commmand specific completions
...
darcs-hash:20061214131239-ac50b-3626c53c9c985bc3b786d5d6baff5e162a5e4951.gz
2006-12-14 23:12:39 +10:00
axel
9ff0e9cf72
Fix incorrect use of the 'builtin' builtin when the 'command' builtin was intended
...
darcs-hash:20061214120630-ac50b-5cee4b32042bb23c1a4b01e2a400a4af13c64c9c.gz
2006-12-14 22:06:30 +10:00
axel
6c8a559023
Drop unneeded '--' when using set builtin in various places
...
darcs-hash:20061212203727-ac50b-23fbb54bba0c5773e8a3dd2e5737ea8a670c801d.gz
2006-12-13 06:37:27 +10:00
axel
ca8c337c94
Drop unneeded '--' when using set builtin in the trap function
...
darcs-hash:20061212181841-ac50b-dd1fd50b80c6d3c759c123832bc6334613529ee6.gz
2006-12-13 04:18:41 +10:00
axel
fd11f294bc
Use the math function instead of calling bc directly in various places
...
darcs-hash:20061212171118-ac50b-a40709edf008f3d725e3755d5282ae5a84818c88.gz
2006-12-13 03:11:18 +10:00
axel
d3dd9400e3
Make sure the rm command and not a wrapper function that could change its behaviour is used. This patch was written by David Bitseff.
...
darcs-hash:20061212122853-ac50b-4f3c9962bc6daed95c8f53a19af05bc3d924eac7.gz
2006-12-12 22:28:53 +10:00
axel
234034d302
Make sure cwd colors update when the variable changes. This is a common regression, it seems. This time it was caused by the repaint reductions added in 1.22.2.
...
darcs-hash:20061212101348-ac50b-970686fcd3317f19c6131cdc46885a841c68a6d6.gz
2006-12-12 20:13:48 +10:00
axel
f4af7603da
Add completions for flac, written by David Bitseff
...
darcs-hash:20061210092326-ac50b-4de3e3473cdc73ef05052d4053f56dd790cc1403.gz
2006-12-10 19:23:26 +10:00
axel
63a28eb46f
Add completions for oggenc, written by David Bitseff
...
darcs-hash:20061209085946-ac50b-747b61e4a0d717b5b9a5b7dcc3bdad8e33e79e18.gz
2006-12-09 18:59:46 +10:00
Tassilo Horn
58042b0e9f
ruby-gems-completion.dpatch
...
darcs-hash:20061208232818-c06f4-510633a992d3557967709713ab8ed8df94a36c05.gz
2006-12-09 09:28:18 +10:00
axel
1d3465698f
Add dcop completions, written by David Bitseff
...
darcs-hash:20061208215855-ac50b-aa2ee1fc551ce7bca50d5979800e6674015a3737.gz
2006-12-09 07:58:55 +10:00
axel
df4a0d65bd
Update comlpetions for the help function
...
darcs-hash:20061206131020-ac50b-f7f1a3c5aa85d90a6538583681167abca7f50e63.gz
2006-12-06 23:10:20 +10:00
axel
77b5532ce9
Make delete-or-exit work with multiline commands
...
darcs-hash:20061206122537-ac50b-80e3b3d6dff886eba162fbb8db5a82ff0f7a107f.gz
2006-12-06 22:25:37 +10:00
axel
4b9dcf1cf2
Add ant target completions, written by Nate Drake
...
darcs-hash:20061205235252-ac50b-112c0ff335e456ed0b419c6c5c7a889c517baed1.gz
2006-12-06 09:52:52 +10:00
axel
ceacfb83a8
Add completions for the env command
...
darcs-hash:20061204115838-ac50b-f75e067b50ee2cbc8f735110c34892613c53c4d9.gz
2006-12-04 21:58:38 +10:00
axel
d736c8cca6
Add completions for the locate command
...
darcs-hash:20061204114205-ac50b-1231627ff987bbb3dc4c7af1436cfdf17bd3a5c1.gz
2006-12-04 21:42:05 +10:00
axel
60769903a5
Add subcommand completion support to nice completions
...
darcs-hash:20061204111346-ac50b-913f68c7fcbf71117ac6d662423d64d05d38c6e5.gz
2006-12-04 21:13:46 +10:00
axel
8b73bac580
Rename __fish_complete_directory to increase consistency
...
darcs-hash:20061202233433-ac50b-48368a338773ad47807b0032389fd305d86b3275.gz
2006-12-03 09:34:33 +10:00
axel
687ba1c9ef
Add completions for the find command
...
darcs-hash:20061130231414-ac50b-4636dbd460ad23479c5740b22dcba011c2e140a3.gz
2006-12-01 09:14:14 +10:00
axel
7f18dd6a4a
Improve kill completions on non-Debian systems (They where fine before on Debian systems)
...
darcs-hash:20061130163230-ac50b-0f72c7a609b1218e30ec193362df13c76f4cb35b.gz
2006-12-01 02:32:30 +10:00
axel
2f7a472230
Remove fallback of using globals when universal variables are broken in config file- fish does the equivalen internally now
...
darcs-hash:20061130154838-ac50b-04861991dfc12fc4a7d1bb675dbffe4b78df920e.gz
2006-12-01 01:48:38 +10:00
axel
b8f2f46945
Use dircolors to set default colors for ls
...
darcs-hash:20061130154026-ac50b-d6d5e182a71516aa56ab16851e47510f2561b585.gz
2006-12-01 01:40:26 +10:00
axel
2570eb1ab8
Fix bug in save_function script
...
darcs-hash:20061130154006-ac50b-cb9ae4c46d3eced0fa432c47de996016519d29cd.gz
2006-12-01 01:40:06 +10:00
axel
ddc617f80a
Fix bug in save_function that causes it to not create missing directory entries before saving function
...
darcs-hash:20061129140229-ac50b-525f2cff869a066d5c3624880125e37862a9fd3b.gz
2006-11-30 00:02:29 +10:00
axel
f64364cced
Replace all internal uses of grep with sgrep, which is a wrapper around grep that strips away any GREP_OPTIONS. This is needed to avoid users who have added arbitrary switches to GREP_OPTIONS, thus changing its behaviour.
...
darcs-hash:20061129140004-ac50b-485ff6bfd71e9459ba62461f6e093ca5c9ddd664.gz
2006-11-30 00:00:04 +10:00
axel
32502bfac8
Don't use GREP_OPTIONS in 'contains' function - this is a modified version of a patch by David Bitseff
...
darcs-hash:20061126131150-ac50b-640bfaf2c3a4111809d9091631b79e35005e68b5.gz
2006-11-26 23:11:50 +10:00
axel
20b3f3b9a1
Add completions for the wajig command. These where generated by the create_wajig_completions.py script, written by Reuben Thomas.
...
darcs-hash:20061120152707-ac50b-fe478814bcc5edec9dc9d49d0da665b21ba8956c.gz
2006-11-21 01:27:07 +10:00
axel
1145a5d483
Touch up completions for builtin commands
...
darcs-hash:20061120152518-ac50b-cbd3d14af4fd2d67304278d442443decbac1ef7c.gz
2006-11-21 01:25:18 +10:00
axel
125ca9ff73
Minor edits, whitespace fixes, etc.
...
darcs-hash:20061120131412-ac50b-0d9bc9d3fb35b4c9831bdf3a606e9aa8df844478.gz
2006-11-20 23:14:12 +10:00
axel
372c811763
Support bold and underlined characters in help output
...
darcs-hash:20061119232734-ac50b-d426980ee143b44065a3ea2afc7d3808174acd5f.gz
2006-11-20 09:27:34 +10:00
axel
eb3c99c54e
Move the event handler for fish_color_cwd to init file, so it is not autounloaded. Also cache output of call to set_color command to improve performance a bit.
...
darcs-hash:20061118212147-ac50b-b0f44cca2acf7465dd9ff071aa35a3ac81f0615f.gz
2006-11-19 07:21:47 +10:00
axel
1b71f91a01
Update documentation display code to run roff on the client system instead of pregenerating documentation and compiling it into program binaries
...
darcs-hash:20061117162438-ac50b-5c4c7f0bd8bf53a16e16ecfead9569e642b7160f.gz
2006-11-18 02:24:38 +10:00
axel
4c1d1bb218
Complete using known repos in darcs
...
darcs-hash:20061116132251-ac50b-d62d1a1b08d21b57fa6f7e7ae105d9b77026fd39.gz
2006-11-16 23:22:51 +10:00
axel
80759ee03f
Fix exit status of delete-or-exit function
...
darcs-hash:20061112114544-ac50b-d5fd61b3819715057caba2dd8b48119df080edd1.gz
2006-11-12 21:45:44 +10:00
axel
816f473ac9
Add a few missing completions for the ls command
...
darcs-hash:20061111113315-ac50b-2a77e93a78571e1e83801128c1793c52bb03e13f.gz
2006-11-11 21:33:15 +10:00
axel
8784b78d84
Add a few more darcs completions. These are still unfinished, though.
...
darcs-hash:20061111105547-ac50b-0791e833664ff67d8ced1176577d8266fe4a3782.gz
2006-11-11 20:55:47 +10:00
axel
5005c67d76
Minor cleanups, mostly of code comments
...
darcs-hash:20061111105452-ac50b-24ab7965f6208ecdfced738e08cdb4cb4a565458.gz
2006-11-11 20:54:52 +10:00
tassilo
fb62a35921
complete-eik-and-friends.dpatch
...
Completions for all tools which come with eix.
(http://dev.croup.de/proj/eix )
darcs-hash:20061110155925-a923b-fd06120f7ea5f65cb752fe437bfccb6f16c87b45.gz
2006-11-11 01:59:25 +10:00
tassilo
79de45eed5
better-emerge-completion.dpatch
...
- You don't need to supply the package right after -C or -u etc.
- Better descriptions
darcs-hash:20061109145341-a923b-a1a54d3a5a040396ccba350c125f3b1ba645c601.gz
2006-11-10 00:53:41 +10:00
axel
9bc9e1c08d
Add completions for equery, written by Tassilo Horn.
...
darcs-hash:20061107211708-ac50b-6199e58e84bc8ee8729be5f2a5ff2f3518888bfc.gz
2006-11-08 07:17:08 +10:00
axel
3acdeb87a4
Update the emerge completions. They are now complete, ignore switch ordering, handle packages in different catagories with the same name. This update was made by Tassilo Horn.
...
darcs-hash:20061107211617-ac50b-fcd3108209671283b2d5553d3adf5a81a46869f9.gz
2006-11-08 07:16:17 +10:00
axel
9959e53985
Add alias function. Thanks to Tassilo Horn for pointing out that it was missing.
...
darcs-hash:20061107205539-ac50b-0053f828d40be5bcb088cdb8d669c239c201b433.gz
2006-11-08 06:55:39 +10:00
axel
dc90e460fe
Fix a bug in the help function causing help to fail when trying to open help for a builtin command. Thanks to Reuben Thomas for the report.
...
darcs-hash:20061107131211-ac50b-9727a813d940b34923b23b073c80a7b42c023486.gz
2006-11-07 23:12:11 +10:00
axel
d20c14b4bb
Do not print a newline on empty greeting message. Thanks to Reuben Thomas for pointing this out.
...
darcs-hash:20061107130629-ac50b-553bc13390c0f040f4cecf2780e34da674e065fa.gz
2006-11-07 23:06:29 +10:00
axel
981f5782d8
Fix code for locating inputrc-file in users fish configuration directory. Thanks to Reuben Thomas for reporting this.
...
darcs-hash:20061103155335-ac50b-23ddaec5d0ca591b00e8a59ccc39e63ed8b9ff25.gz
2006-11-04 01:53:35 +10:00
axel
1a84a44cc2
Add completions for ps2pdf, dvipdf and dvipdfm commands, written by Reuben Thomas.
...
darcs-hash:20061103141945-ac50b-7592bb5784a55272747bbb0322281b9090e5fd65.gz
2006-11-04 00:19:45 +10:00
axel
c41986a63f
Add command specific completions for unrar command (No switches yet, only commands and files in archive)
...
darcs-hash:20061102235727-ac50b-7b7638289be4de52b4e3e3d109ad3167b7285023.gz
2006-11-03 09:57:27 +10:00
axel
bedf8ea55e
Add support for completing using contents of tar archives
...
darcs-hash:20061102235548-ac50b-ec4a3b206c73f8fc44cc715b2a95fe6fef2d53c0.gz
2006-11-03 09:55:48 +10:00
axel
7fb44d4d5f
Spelling fix. Thanks to Reuben Thomas
...
darcs-hash:20061101231404-ac50b-8f5b08242aed565baf37035805d7b3614fe8022b.gz
2006-11-02 09:14:04 +10:00
axel
63643ff17f
Fix completions for which and type, which where broken by previous script updates
...
darcs-hash:20061030015221-ac50b-e4a0f2802e7a5dc4a1e594933f25cae00d9ea104.gz
2006-10-30 11:52:21 +10:00
axel
09c348bef2
Add a shellscript function 'save'function' for saving the current definition of a function to file
...
darcs-hash:20061027225004-ac50b-2454152687ff84deec90e3d938a0288e62dc34e6.gz
2006-10-28 08:50:04 +10:00
axel
4502fc74c3
Fix spelling error in init file
...
darcs-hash:20061025203337-ac50b-576bd81401e332f94ecdff5665ca8da82c63fa8e.gz
2006-10-26 06:33:37 +10:00
axel
dfa73c7cc1
Remove the --key-binding switch for fish
...
darcs-hash:20061025202836-ac50b-682015e2f5830a85ff520e89b0a951ca9d2913dc.gz
2006-10-26 06:28:36 +10:00
axel
287ab597ca
Remove extra whitespace from warning message on directory transition
...
darcs-hash:20061022155759-ac50b-e1cd50b1b0d05413ad6e4d6c06a0f005e17d6976.gz
2006-10-23 01:57:59 +10:00
axel
ea998b03f2
First stab at directory transition. Test with care...
...
darcs-hash:20061019115023-ac50b-30c3fd51d8af8a616d63dfcac39370d7fe6d144e.gz
2006-10-19 21:50:23 +10:00
axel
17a13a8eb7
Use the xdg-open command in the open function if it exists
...
darcs-hash:20061011161749-ac50b-f700489a238dafbd9aec4ef4f2eed731a8622b27.gz
2006-10-12 02:17:49 +10:00
axel
e3e1b34fec
Only show greeting in interactive mode
...
darcs-hash:20061010173154-ac50b-4831a80be03ed132ca5f709dcc5284d17d828d4e.gz
2006-10-11 03:31:54 +10:00
axel
007e4662e3
Fix bug in contains function
...
darcs-hash:20061009215133-ac50b-3dc99c245e69c176f334046d9746d533a106cf2a.gz
2006-10-10 07:51:33 +10:00
axel
e11677ef66
Make the greeting message configurable using the fish_greeting variable
...
darcs-hash:20061009214905-ac50b-cc07bf2b76c5306f96d1bca7fd478d972de25de8.gz
2006-10-10 07:49:05 +10:00
axel
8ace1739f5
Add missing newline in error message for popd function. Thanks to Phipip Ganchev.
...
darcs-hash:20061005064419-ac50b-4770f393ea02761a5f4b4044b456d1b618d6da23.gz
2006-10-05 16:44:19 +10:00
axel
302516a747
Fix bug causing ls function to never color or classify files
...
darcs-hash:20061004235530-ac50b-815b8576b4d845c4d5929e034177c917fc050cae.gz
2006-10-05 09:55:30 +10:00
axel
91c745e4b5
Add the possibility to set the cursor position using the commandline builtin
...
darcs-hash:20061004213948-ac50b-3f673edeb01390bb3f280812d90bc8469f2f8ba8.gz
2006-10-05 07:39:48 +10:00
axel
80ff583400
Use universal variables for fish_function_path and fish_complete_path
...
darcs-hash:20061004175519-ac50b-2e9dabc9ce1c21ebfcba020db8a8d84ef48433e9.gz
2006-10-05 03:55:19 +10:00
axel
22fe8e6a17
Fix bug in the setenv function (values wheren't exported!), thanks to Matrin Bähr for the report.
...
darcs-hash:20060928165405-ac50b-5ada00cfc08805677e1932c800ee79d68e35a68b.gz
2006-09-29 02:54:05 +10:00
axel
be886bc6df
Unly use classifications in ls if stdout is a tty
...
darcs-hash:20060919165317-ac50b-c7923c7f5900ecc9814756743e6b0345efa382c5.gz
2006-09-20 02:53:17 +10:00
axel
1db67a5105
Add completions for the wpa_cli command
...
darcs-hash:20060918222913-ac50b-9aeac9d1a5ecb4b6915625b07133b66ebab0b2bd.gz
2006-09-19 08:29:13 +10:00
axel
4037219dc0
Make sude completions include /sbin and /usr/sbin in PATH. Thanks to Xavier Douville for the suggestion.
...
darcs-hash:20060913171310-ac50b-a9e30533bc634f194f73fdee1e042d407f55fcac.gz
2006-09-14 03:13:10 +10:00
axel
1612ec50fb
Fix bug in __fish_complete_subcommand, reported by Xavier Douville
...
darcs-hash:20060912231409-ac50b-c573d798d9d1abc197fcf50f3b52df2e44e1f70e.gz
2006-09-13 09:14:09 +10:00
axel
c550f4eb21
Add completions for xpdf and xmms, written by Vikas Gorur
...
darcs-hash:20060911141848-ac50b-a541eafba3f0155b207963633262229330c01bea.gz
2006-09-12 00:18:48 +10:00
axel
227a5da02c
Fix syntax bug caused by new cmdsubs slicing feature. Thanks to Martin Bähr for the report.
...
darcs-hash:20060907201145-ac50b-8315f1c207883bfbe56db2ec8b3a8b3635e8dc84.gz
2006-09-08 06:11:45 +10:00
axel
73f0d0bb48
Fix warning when help function is called with no arguments
...
darcs-hash:20060904201612-ac50b-63b83a589735021a6afd6be193500b549e3b25dd.gz
2006-09-05 06:16:12 +10:00
axel
200ebe43dc
Add math shellscript function, which is a thin wrapper around bc
...
darcs-hash:20060904160023-ac50b-0d784182ca3930b0987d4338655b8717237e842c.gz
2006-09-05 02:00:23 +10:00
axel
b6e8171f01
Fix minor null pointer bug in the set builtin, fix bug causing the -n switch to be ignored, add missing completions for the -n switch to functions and set builtins, and touch up the documentation for said builtin a bit
...
darcs-hash:20060831154400-ac50b-dddbee79481e0e0a8da9fc025e8a15c466460a2f.gz
2006-09-01 01:44:00 +10:00
axel
6522000bf0
Don't turn of file completion in svn completions if given an unknown subcommand
...
darcs-hash:20060827144853-ac50b-d09576fd6984eb18b06e0e7b1d8a88aa7b9d1df4.gz
2006-08-28 00:48:53 +10:00
axel
0a603a56c6
Minor bugfix for the completions for the complete builtin
...
darcs-hash:20060825154545-ac50b-eaa8b210ddc6fb6a089deb5c2b19723bd92228f3.gz
2006-08-26 01:45:45 +10:00
axel
046dd82995
Add minor new completion for make command
...
darcs-hash:20060825154516-ac50b-80284df4f7dd6cd332f2b21f5c9bdc359cc00eca.gz
2006-08-26 01:45:16 +10:00
axel
2ea00ce444
help --help should be same as help help
...
darcs-hash:20060822005230-ac50b-b82c0665cae7427c09992f51e128e33cea44b41e.gz
2006-08-22 10:52:30 +10:00
axel
7c822cbf30
Add a message to stdout in the help function describing where the help went if help opens an external browser window
...
darcs-hash:20060814181135-ac50b-6d9b05b714bc9576c260e87b5706e7d94dd73e39.gz
2006-08-15 04:11:35 +10:00
axel
486e0dbe84
Remove Solaris circular dependency in init file. Thanks to Netocrat.
...
darcs-hash:20060810193338-ac50b-2f1f68170610e1669fc20298fcce50a920c3f38f.gz
2006-08-11 05:33:38 +10:00
axel
7a884e11a6
Avoid circular dependency in ls autoload. Second try.
...
darcs-hash:20060809231155-ac50b-52b1b1609307fb05d3d8f32c972b0a22476a1da8.gz
2006-08-10 09:11:55 +10:00
axel
65f4d6e866
The xpg4-path was mistyped. Fix it.
...
darcs-hash:20060801005736-ac50b-ef8389777e012f9f0b6edcb3df3d638158f87373.gz
2006-08-01 10:57:36 +10:00
axel
8833e8f4ea
Fix minor nit in comment
...
darcs-hash:20060801005246-ac50b-56cb6d2245ce81d16807028749495b8e5a86cc3c.gz
2006-08-01 10:52:46 +10:00
axel
f439c4a484
Make calls to grep Posix compliant
...
darcs-hash:20060731003354-ac50b-5916d6d862fe8b4f31b64840296d24615b52d175.gz
2006-07-31 10:33:54 +10:00
axel
2fba53b113
Make PATH validation only run for interactive shells to avoid infinite loop
...
darcs-hash:20060731003311-ac50b-da0b49830e5a9042fbe7952a63ced2c86b8978fe.gz
2006-07-31 10:33:11 +10:00
axel
8a2846ed44
Add Solaris xpg4 PATH test
...
darcs-hash:20060731003111-ac50b-d8945adca50bbe9e86041835ed52a88e09f65701.gz
2006-07-31 10:31:11 +10:00
axel
8e06805f2d
Fix for recursive autoload loop on ls
...
darcs-hash:20060728131756-ac50b-034430a6a44bec83419438fc1be0c0e603eaad2d.gz
2006-07-28 23:17:56 +10:00
axel
c9eb74fa4b
Add missing Substitutions of prefix and optbindirs variables in share/fish.in
...
darcs-hash:20060723170402-ac50b-551cff33ca0e831505b5891fada0a017c3ea1370.gz
2006-07-24 03:04:02 +10:00
axel
1dc033f71c
Fix temporarily broken fish_function_path during startup
...
darcs-hash:20060719224433-ac50b-d7b4480d694cb8f71ecee75e21c7530700d3c609.gz
2006-07-20 08:44:33 +10:00
axel
57b3965518
Initialize etc/fish and share/fish from the Makefile, not automatically by Autoconf. That way we get correct expansion of ${prefix} and friends to their install-time value. This fixes a bug reported by James Vega.
...
darcs-hash:20060718164155-ac50b-8ec6c63d9c4e52db2c1884fcffeab78333367773.gz
2006-07-19 02:41:55 +10:00
axel
4a87c9895d
Add -q/--query switch to the functions builtin. Works just like the same switch to set does. Useful for checking for the existance of functions in a script
...
darcs-hash:20060712174655-ac50b-14a98a15751bb5ddddf4ffb41521b616bef5e40c.gz
2006-07-13 03:46:55 +10:00
axel
9e304fa734
Overhaul of the script autoloader. This should make sure that old scripts are unloaded and new scripts are loaded when the fish_function_path and fish_complete_path variables change
...
darcs-hash:20060712142242-ac50b-3966a0e96a32facc8bc1164d6d0837fc551e4733.gz
2006-07-13 00:22:42 +10:00
axel
bb04df2ac9
Minor code tweaks: A few extra input validations, spelling corrections, etc
...
darcs-hash:20060710223956-ac50b-22d3b2adf570872564abf7ab68bb223d0c4a5308.gz
2006-07-11 08:39:56 +10:00
axel
746a602515
Make sure that the / is only printed once in prompt_pwd function when cwd is root
...
darcs-hash:20060710223848-ac50b-ddb52c414fd8b08bd7c515c99cc4e05a3c479c7d.gz
2006-07-11 08:38:48 +10:00
axel
ba9fbc67da
Fix bug in completions for the cd builtin that caused missed completions when using relative search paths and CDPATH. Also move the completions function to it's own file.
...
darcs-hash:20060709235518-ac50b-36c59205edbecd5c8967d8784fd43e46729c3cdc.gz
2006-07-10 09:55:18 +10:00
axel
ac40a3bcd0
Fix use of hardcoded path in completions for the help completions causing missing completions and warnings
...
darcs-hash:20060709233249-ac50b-9dfb4a708a8ecb3ae2e1882a0a5146aed6286d37.gz
2006-07-10 09:32:49 +10:00
axel
e59cb1da5d
Add setenv shellscript function for csh compatibility
...
darcs-hash:20060622001123-ac50b-22e783ec5f77120a6960f28d735893d58e1a7db4.gz
2006-06-22 10:11:23 +10:00
axel
c9e98c2eef
Update function wrapper for cd builtin, make sure a local variable is used
...
darcs-hash:20060617131145-ac50b-1cef97b5e774713f659962b7e33f889be3081a3d.gz
2006-06-17 23:11:45 +10:00
axel
6e0e7e0996
Fix a bug in the function wrapper around the 'cd' builtin that caused cd to sometimes return with a non-zero exit status even though the command did not fail
...
darcs-hash:20060616151848-ac50b-001698980eca6fadf9e470d829a532c305c84e38.gz
2006-06-17 01:18:48 +10:00
axel
94d1322fc1
Update the set_color command: Add underline support, make the command a bit more rubust to missing ferminal features, and update documentation and completions
...
darcs-hash:20060615134915-ac50b-de1092e56490bbf1c58cc3422c239a2997645b6b.gz
2006-06-15 23:49:15 +10:00
axel
d7d2c82a82
Fix bug in help builtin that caused fish to show index page instead of command-specific help
...
darcs-hash:20060613152224-ac50b-d1841f7069e4fee2c569fb0ee079efd3cfe7de8a.gz
2006-06-14 01:22:24 +10:00
axel
58aa1e75c1
Add completions for the which command
...
darcs-hash:20060613144807-ac50b-a0819777ec904700e644508a3b97e98f8c2acaee.gz
2006-06-14 00:48:07 +10:00
axel
c60b62de73
Minor addition for completions to the patch command
...
darcs-hash:20060612203328-ac50b-e06d8dd7f9325cc06f59f6386eaedb181f1bd881.gz
2006-06-13 06:33:28 +10:00
axel
6e1548b821
Remove period from end of completion descriptions for telnet command
...
darcs-hash:20060607233312-ac50b-cb10498f174b72fb53d7e47ab93fcd8af72676c9.gz
2006-06-08 09:33:12 +10:00
axel
48ca253097
Minor spelling fixes
...
darcs-hash:20060603223228-ac50b-b4f7b190baf3c41bf23c224f5d68e8888dd4eaed.gz
2006-06-04 08:32:28 +10:00
axel
7c016c56e3
Only hide /private directories in pwd function under OS X
...
darcs-hash:20060601222300-ac50b-b08a9425d33cf41d60aa0a42edffa32f521fc2a3.gz
2006-06-02 08:23:00 +10:00
axel
0602044723
Add completions for 'cp'.
...
darcs-hash:20060601221808-ac50b-f9f8d90f6e53fe6bc41d124b00ded09c4979af6d.gz
2006-06-02 08:18:08 +10:00
axel
25365dbc54
Minor change to the strings to a printf comman, since it seems to work differently under different platforms
...
darcs-hash:20060530091417-ac50b-4eead9f39433b54ab66dea1c336b533689d85c46.gz
2006-05-30 19:14:17 +10:00
axel
b028e41f7f
Slightly updated fusermount completions - Thanks to Sean Higgins
...
darcs-hash:20060529135227-ac50b-ffce282fc850a895da75f64cd8a151277f42a937.gz
2006-05-29 23:52:27 +10:00
axel
29cd62ab6e
Check documentation for listing of external commands instead of relying on out of date static lists in various places
...
darcs-hash:20060529133239-ac50b-48392cfa1e5817ed8df452f0632658af7fe47a28.gz
2006-05-29 23:32:39 +10:00
axel
433169dca4
Avoid using the pwd command in favour of the $PWD variable, since the pwd command does not seem to work well with fuse
...
darcs-hash:20060529130753-ac50b-0d32fe0924dbf9e83520d26402e9daae77789419.gz
2006-05-29 23:07:53 +10:00
axel
d97f8f3fde
Add missing completion for complete builtin
...
darcs-hash:20060527134741-ac50b-dd50e408384d48b4b859240ac4fb6ad1ea8d25a5.gz
2006-05-27 23:47:41 +10:00
axel
28ea5ce732
Add missing N_.fish file to repo
...
darcs-hash:20060526120906-ac50b-5c903a99dfcb176c454bec2abc25360e8a7bf79a.gz
2006-05-26 22:09:06 +10:00
axel
df5cc6f858
Fix bugs detected by the ahead-of-time syntax checking in the complete builtin
...
darcs-hash:20060521192705-ac50b-b4304328fb4b9cce853055a2f231c48050a17471.gz
2006-05-22 05:27:05 +10:00
axel
db459f869a
Update the PATH checking code to work in batch mode
...
darcs-hash:20060518133726-ac50b-81759f01565fdfdb85c042c1db1b766a9a6adcda.gz
2006-05-18 23:37:26 +10:00
axel
4a06821d99
Make fish remove invalid PATH entries on startup, and give a warning about it
...
darcs-hash:20060518130017-ac50b-9326ed6b5671bbe0285fd2d5604e4ea69087c7c1.gz
2006-05-18 23:00:17 +10:00
axel
22f3dcfd35
Fix bug that causes fish to elongate the PATH whith directories which are already there
...
darcs-hash:20060518125909-ac50b-9c23915bb6f51f9105e04ad71b102b386b5d43a9.gz
2006-05-18 22:59:09 +10:00
axel
f5c6306bde
Do not repaint prompt on universal variable events, but add event handler for fish_color_cwd to repiant prompt on change
...
darcs-hash:20060511122629-ac50b-a725d87fe9ec911282e8de79aa9de5c00d180caa.gz
2006-05-11 22:26:29 +10:00
axel
633e2f498f
Escape $ character in apropos completions - Thanks to Peter Moulder for pointing this one out
...
darcs-hash:20060510115641-ac50b-51db7d181d63119c6edc223b06f8b8b63e8149d6.gz
2006-05-10 21:56:41 +10:00
axel
e3dd94f272
Add missing quote escape to ls completions
...
darcs-hash:20060510115243-ac50b-6aff103edec7d1499702d5eb38d9841571d95c16.gz
2006-05-10 21:52:43 +10:00
axel
508de57459
Change setup to avoid invalid directories and warnings, also revert directory checking for fish_*_path, it makes sense to add non-empty directories to these
...
darcs-hash:20060421150558-ac50b-90aff08f81b3d280badba4cc14fb6a0897c39f9e.gz
2006-04-22 01:05:58 +10:00
axel
536523ffd7
Minor comment and documentation edits
...
darcs-hash:20060420150206-ac50b-c5c91053ee37a6c3f763287c42b430cdc99bb45b.gz
2006-04-21 01:02:06 +10:00
axel
f812b9b26c
Fix bug in type command causing type -f to return true even when no file was found
...
darcs-hash:20060410143201-ac50b-4d8a70cd9721edcddaf11324f0b575d3f8cbace8.gz
2006-04-11 00:32:01 +10:00
axel
349f52a1a5
Telnet completions from Sean Higgins
...
darcs-hash:20060331165554-ac50b-5b0300d89ac2b2fbc6bc4bfcf228572fdce2e284.gz
2006-04-01 02:55:54 +10:00
axel
80b4055eab
Add support for the -n switch to skip execution of any commands
...
darcs-hash:20060318010459-ac50b-9d9e5c489e0e4df2159d8c1d0ff952d42e2a2a82.gz
2006-03-18 11:04:59 +10:00
axel
94b7c8d5e6
Don't call the type function when defining the _ function, as this will cause a recursive dependency
...
darcs-hash:20060317132356-ac50b-4b3b0b6ec3f2e82649c74cc358f1505bf202bbd4.gz
2006-03-17 23:23:56 +10:00
axel
580ec26885
Minor code tweak in type function, and add a missing newline to an output string
...
darcs-hash:20060317132256-ac50b-87c066ec3aba2eded333ecbf2198de001c313570.gz
2006-03-17 23:22:56 +10:00
axel
d58b9de63b
Use 'type -f' instead of 'which' to test for presense of command, since the latter does not set the exit status correctly on all platforms
...
darcs-hash:20060314002127-ac50b-6ed726bdcc9e3a7a9608a904c382973799dc73ef.gz
2006-03-14 10:21:27 +10:00
npilon
99a93b5add
Fish PATH Fix
...
Moved PATH detection code to the start of share/fish.
darcs-hash:20060313190724-c90d9-8e2e80910041e91b48d68154e9d8180d04689463.gz
2006-03-14 05:07:24 +10:00
npilon
de50539c02
gettext detection fix
...
The current method of gettext detection is broken on (at least) OS X and Solaris, where which always returns successfully. This method seems to work on Linux, OS X, and Solaris.
darcs-hash:20060313014458-c90d9-8b169581a8632b6a47c61310ef3c976abd67d8e0.gz
2006-03-13 11:44:58 +10:00
npilon
04cf08b93b
xargs completion fix
...
Added a missing -d to a couple of xargs completions.
darcs-hash:20060313014433-c90d9-b7c6e444ecea0ed2e75304bd9663d20ea55df0ff.gz
2006-03-13 11:44:33 +10:00
axel
5f3ad87a98
Make the type builtin not rely on the exit status of the which command
...
darcs-hash:20060314000641-ac50b-cc92a519b6c8981a50aea0f25f407dfe2b5f51dc.gz
2006-03-14 10:06:41 +10:00
axel
5b0cd5a911
Changes in quoting of backslashes lead to minor bug in awk script for munging command descriptions
...
darcs-hash:20060310142808-ac50b-75e4be2daa924e4a565b1a11f69068340022c367.gz
2006-03-11 00:28:08 +10:00
axel
73370f5f39
Avoid extended regexps in grep, they are not portable
...
darcs-hash:20060310134350-ac50b-7138e53ed815986ccb78e909f50c9939382a1e89.gz
2006-03-10 23:43:50 +10:00
axel
f320f5f710
Move LANG init back to /etc where it belongs. IT was temporarily moved earlier to do some translations at init time, but that is no longer needed
...
darcs-hash:20060310134039-ac50b-e826176a9d574b26235013384963f2dd7e9e9457.gz
2006-03-10 23:40:39 +10:00
axel
b05ccee0f0
Remove extra spaces in descriptions for a few completions
...
darcs-hash:20060309115250-ac50b-c0c30e25f9d3e4b9390924a5a5686ad5dc159882.gz
2006-03-09 21:52:50 +10:00
axel
d722fa59ca
Add completions for cdrecord, patch and xargs
...
darcs-hash:20060306232645-ac50b-89f38afaa1ae3106c18fc55acc75fc0dd702bd9a.gz
2006-03-07 09:26:45 +10:00
axel
3b6d8756ea
Fix various uses of the GNUism of allowing backslash escapes in the second half of a sed regexp substitution
...
darcs-hash:20060302112808-ac50b-46cdf8e99f8f6e8cab0d54f32cf4e4d309775aa1.gz
2006-03-02 21:28:08 +10:00
axel
c2f6c6c1d2
Do gettext translation of descriptions just-in-time internally in fish
...
darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.gz
2006-03-02 02:53:47 +10:00
axel
dad2b93d1e
Add functiopn prototype completions for valgrind --alloc-fn
...
darcs-hash:20060224135618-ac50b-bcd2fa57593f6a5c9f41b9513ac25f859baf1659.gz
2006-02-24 23:56:18 +10:00
axel
328c3a39a1
Move _ shellscript function to it's own file
...
darcs-hash:20060221153701-ac50b-05cecdac1221e0abc709d9e9c1799faa7986fa78.gz
2006-02-22 01:37:01 +10:00
axel
ea0005e16d
Move code for setting ls and grep colors to function definition files
...
darcs-hash:20060220130203-ac50b-feb426f6450a0bbd17cb9dacdca94d4d5b72c113.gz
2006-02-20 23:02:03 +10:00
axel
dd79d75504
Move a few shellscript bits around
...
darcs-hash:20060218024145-ac50b-207ca782808ea8968cb38253c7bc2563350f38b2.gz
2006-02-18 12:41:45 +10:00
axel
343cafef34
Redo installation file structure, move lots of things to $PREFIX/share/fish
...
darcs-hash:20060217101339-ac50b-d93d2c620a4b7f75f05ff461a6edbee001da7613.gz
2006-02-17 20:13:39 +10:00