Brian Gernhardt
3fe1adfc6d
git_prompt: Expand color/character explinations
...
This will be getting more complicated when I add the showcolorhint
option from git.git.
2013-07-26 22:03:45 -04:00
Brian Gernhardt
0af49d0533
git_prompt: Update documentation
...
* The original __git_ps1 function has split from the rest of
git-completion as of git.git af31a45
* Use the description for GIT_PS1_DESCRIBE_STYLE (added in git.git
50b03b0) for __fish_git_prompt_describe_style
* Update the description of __fish_git_prompt_showupstream to include
the meaning of '=' based on git.git f9db192: "Improve the
description of GIT_PS1_SHOWUPSTREAM"
* Note that the PROMPT_COMMAND versions of the command with extra
arguments don't work, in case someone used to the bash version is
looking for it.
* Note that I am updating the script so Kevin Ballard doesn't get
blamed for anything I break.
2013-07-26 21:50:21 -04:00
Brian Gernhardt
d5c1bf98d7
git_prompt: Add branch information for rebase
2013-07-26 16:10:38 -04:00
Brian Gernhardt
5753fa2106
git_prompt: Merge operation, branch, and bare helpers
...
Operation and branch detection are merged together in the original
because branch information may come from different places depending on
the operation.
Merging the bare helper in helps avoid testing for the working
directory and bare status twice, both of which requires forking a new
process.
Also helps the code match the original more, which will make adding
new features easier.
2013-07-26 16:10:33 -04:00
Brian Gernhardt
31b01f8de3
git_prompt: Reorder show_upstream to match original
...
This makes it easier to see if there are any changes. Also it puts
all of the extra functionality together instead of mixed in with
everything else.
2013-07-26 16:06:23 -04:00
Konrad Borowski
222e36ee3e
Fix make command completion. Fixes issue #928 .
...
Previously, TAB on make CC=/us caused CC=/us/usr/ to appear. This
commit fixes this, by properly removing part after equals sign.
2013-07-25 15:06:39 +02:00
Konrad Borowski
58ad04b61c
Avoid standard command not found message when command-not-found is found
...
Squashed commit of the following:
commit c208bc30b7747b3743212483b3dd7e3f90819f49
Merge: 97bea94
2633372
Author: Konrad Borowski <glitchmr@myopera.com>
Date: Fri Jul 19 09:56:12 2013 +0200
Merge branch 'command-not-found' of git://github.com/GlitchMr/fish-shell into command-not-found
commit 26333721b9
Author: Konrad Borowski <glitchmr@myopera.com>
Date: Fri Jul 19 09:55:13 2013 +0200
Fix command_not_found when not found
commit db34460bb5
Author: Konrad Borowski <glitchmr@myopera.com>
Date: Wed Jul 17 13:41:57 2013 +0200
Avoid showing standard command not found message when possible
In bash, command-not-found handler causes the standard messages to
not appear. Because of events model in fish, it isn't really an
option, so I moved the standard command not found message to
fish function. This way, the messages aren't repeated, and the
standard command not found message appears only when handler
couldn't be found.
2013-07-19 09:56:47 +02:00
Konrad Borowski
97bea94550
Fix canto completion
...
-d option was forgotten, causing error for last complete command
2013-07-19 09:28:05 +02:00
Johann Weging
51ae9b3ed4
Add completion for canto.
2013-07-19 09:24:00 +02:00
Siteshwar Vashisht
7353c6f94d
Fixed ftp completions
...
Merged pull request at https://github.com/fish-shell/fish-shell/pull/919
Squashed commit of the following:
commit c0662a9d4da12ba49ffe1dddc918533f8a52b91f
Author: Siteshwar Vashisht <siteshwar@gmail.com>
Date: Thu Jul 18 21:23:42 2013 +0530
Added missing quote in ftp completions
commit 9ef408d039
Author: Konrad Borowski <glitchmr@myopera.com>
Date: Thu Jul 18 15:33:57 2013 +0200
Make punctuation consistent properly. Fixes #918 .
commit ea26da0f82
Author: Konrad Borowski <glitchmr@myopera.com>
Date: Thu Jul 18 15:29:02 2013 +0200
Revert "make punctuation consistent"
This reverts commit 993c028579
.
2013-07-18 21:26:32 +05:30
raichoo
cabebd9f51
Fix broken darcs completion
2013-07-16 12:37:30 -07:00
ridiculousfish
886c4320d6
Merge branch 'informative_git' of git://github.com/mariuszs/fish-shell into mariuszs-informative_git
2013-07-11 12:26:25 -07:00
Siteshwar Vashisht
379cf3d249
Converted tabs to spaces in webconfig script
2013-07-06 21:09:20 +05:30
Siteshwar Vashisht
0fe44f0e2a
Cleaned up commented lines and updated method names in create_manpage_completions script
2013-07-06 20:57:41 +05:30
Konrad Borowski
7e7b50cd74
Put user paths at beginning
2013-06-22 17:15:43 +02:00
David Celis
0b8f7d4fe7
Add completion for Bundler
...
Signed-off-by: David Celis <me@davidcel.is>
2013-06-20 00:05:28 +08:00
Mariusz Smykuła
a3c87fb30b
Less code is better, __fish_git_prompt_validate_chars refactoring
2013-06-18 22:40:09 +02:00
Mariusz Smykuła
228fa38240
Renaming, cleanup
2013-06-18 22:26:43 +02:00
Mariusz Smykuła
a142c5e1ec
Support for defining color with bold/brighter color set
2013-06-18 22:20:28 +02:00
Mariusz Smykuła
4702283280
Less code is better, __fish_git_prompt_validate_colors refactor
2013-06-18 21:49:53 +02:00
Mariusz Smykuła
918df393e6
Use tabs, sample prompt
2013-06-18 08:52:32 +02:00
Mariusz Smykuła
1e415a9943
Fixes, new method added to prompt
2013-06-17 23:06:05 +02:00
Mariusz Smykuła
c955379971
Added informative status method
2013-06-17 22:20:56 +02:00
Mariusz Smykuła
1debe4f055
Informative version of __fish_git_prompt_show_upstream
2013-06-17 19:29:34 +02:00
Mariusz Smykuła
9b9ce31550
Fix variable name
2013-06-17 19:26:21 +02:00
James French
292908c00a
Portmaster completions
...
* Added FreeBSD's pkg to __fish_print_packages
* Portmaster completes on installed packages and ports
* Options list as per fish_generate_completions, needs to be tidied
up further but will suffice for now
2013-06-17 00:14:16 -07:00
Ivan Giuliani
e027492e11
Added completions for Vagrant
2013-06-17 00:11:34 -07:00
Brian Gernhardt
70208eb33a
git prompt: Fix hang on detached head.
...
$git_dir was never set in __fish_git_prompt_current_branch, but used
in the case of a detached HEAD. This caused `cut -c1-7 $git_dir/HEAD`
to expand to `cut -c1-7` which then waited for input.
2013-06-12 16:29:02 -04:00
ridiculousfish
825a7311ea
Make funced properly handle an invalid number of arguments
...
Fixes https://github.com/fish-shell/fish-shell/issues/780
2013-06-08 20:29:38 -07:00
James French
e63ef84ac1
Added completions for apt-mark
2013-06-04 20:21:46 +08:00
Brian Gernhardt
697c44a293
git prompt: replace question with explanation
...
The code in question displays GIT_DIR! if the user is inside the .git
directory of a repository that has a working directory. Several git
commands won't work in that situation, so it's useful to warn the
user.
2013-06-03 13:04:16 -04:00
Brian Gernhardt
18e34902a5
git prompt: actually show staged token
2013-06-03 13:00:14 -04:00
Brian Gernhardt
4b0c3ffc2f
git prompt: reindent
...
Normally I wouldn't bother, but it was difficult to follow the nested
if statements. Most of the file used tabs, so replaced all leading
spaces with the appropriate amount of tabs.
2013-06-03 12:59:50 -04:00
David Adam (zanchey)
b4d33a58b1
rsync completions: use rsync --list-only to generate completions, allowing the use of rsync daemons
2013-06-03 20:04:32 +08:00
James French
c177965da5
Rsync Remote Path Completion
...
Relevant section lifted from scp.fish
Silenced SSH output to squash banners and failed connections
Erroneous 'and true' removed
echo (commandline -ct) is exactly the same as commandline -ct
2013-06-03 20:04:32 +08:00
ridiculousfish
fd15d30987
Add some const, fix spaces
2013-06-02 01:14:05 -07:00
Christian Rishøj
a259c37415
transpose-words
2013-06-02 00:59:22 -07:00
Johann Weging
54c21f5974
Fixed the capitalization and shorten the descriptions.
2013-06-02 00:54:25 -07:00
Johann Weging
08f378c359
Added completions for head
2013-06-02 00:54:25 -07:00
Johann Weging
58818e9738
Added completions for netctl
2013-06-02 00:36:40 -07:00
Terje Larsen
599556d7d1
Add completions for lunchy (Service launcher for OSX)
...
Now when we have fuzzy matching it is actually quite useful.
2013-06-02 00:27:07 -07:00
ridiculousfish
9ca12e9f9d
Squashed commit of the following:
...
commit 5a577d970a293afe320b6c3280c10c2bd8a1ff50
Merge: 908b075
96941b3
Author: ridiculousfish <corydoras@ridiculousfish.com>
Date: Sat Jun 1 22:59:16 2013 -0700
Merge branch 'dotdir-two-chars' of git://github.com/GlitchMr/fish-shell into GlitchMr-dotdir-two-chars
commit 96941b3a92
Author: Konrad Borowski <glitchmr@myopera.com>
Date: Sat May 25 09:55:43 2013 +0200
Support BSD sed
commit 60652c2bd2
Author: Konrad Borowski <glitchmr@myopera.com>
Date: Sun May 19 10:58:40 2013 +0200
Show first two characters for dotdirs. Fixes #754 .
2013-06-01 23:02:13 -07:00
ridiculousfish
ee7339b661
Merge branch 'completions-git-add' of git://github.com/phisto/fish-shell into phisto-completions-git-add
...
Conflicts:
share/completions/git.fish
2013-05-25 14:10:18 -07:00
Dag Odenhall
c06b1694a2
Parse man8 pages with fish_update_completions
...
Closes #727
2013-05-25 13:57:10 -07:00
ridiculousfish
c238bdd861
Indentation and quote cleanup of help.fish
2013-05-25 13:52:06 -07:00
David Adam (zanchey)
d378904b98
help function: tidy up messages, remove the 'difference' option
...
Fixes #73
2013-05-25 13:47:34 -07:00
David Adam (zanchey)
3a4a2a6dac
help command: only use $BROWSER if it is a valid command
...
(plus add Google Chrome and Chromium to graphical_browsers and a spelling fix)
2013-05-25 13:47:34 -07:00
Valentin-Costel Hăloiu
cdfb5c2bd8
Add systemctl completions
2013-05-25 00:43:03 -07:00
Konrad Borowski
8f9ba2cd09
Escape question mark in ack completion
...
I haven't noticed that because I tested ack in directory with one file.
After @gfxmonk sent issue #797 , I have noticed the problem. This patch
fixes #797 by escaping question mark.
2013-05-25 00:27:30 -07:00
Christian Rishøj
f32dfe2da6
command and binding for transpose-chars
2013-05-24 23:56:12 -07:00
Marc Qualie
9169a673d5
Slightly modified this theme to match robbyrussel
...
I recently switch from ZSH to Fish shell and noticed that this theme is slightly different to the one provided by ZSH. I edited my own using funced but thought it might be useful for other people who are used to the ZSH interface.
2013-05-24 23:18:24 -07:00
ridiculousfish
37123ee053
Squashed commit of the following:
...
commit 4a9595845111bcc8d45419241f8f49bc3e8b3445
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:45:58 2013 +0200
use the new functions
commit 1c934ebbe65a82e92079952b15f31d3a92bc5e8f
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:45:21 2013 +0200
moves formatting code to the bottom in order to get it out of the way of all the colour handling
commit c62f827143c30f6810026c7e4a3d8b77178cd9a4
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:44:12 2013 +0200
adds helper returning whether or not there are staged files
commit 624e47cb85a7579bf284a6a7f0c9165dfa38b0ce
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:43:41 2013 +0200
adds helper returning whether or not the current branch is dirty
commit efc270da7b0998f564a7d2ae4ea3013ed6910e58
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:42:48 2013 +0200
adds helper returning whether or not a repo is bare
commit 0da668316cedb8e3fa166977be82c917ef67ad86
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:41:55 2013 +0200
adds helper returning current branch
commit 15cbcedc77199aea1868faee5d178d9547a4d541
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:41:10 2013 +0200
adds helper returning current operation
commit c3352d3e9e60bf94fd4bf412ad85d62bba4cbff8
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:40:20 2013 +0200
adds helper returning the git dir
commit f346e52b7814ebf1eed55f006c3bedc8ece38e3b
Author: Harm Aarts <harmaarts@gmail.com>
Date: Mon May 20 18:52:19 2013 +0200
use the fish_git_prompt_char_* variables
2013-05-24 23:15:46 -07:00
Bodo Tasche
c2616e385c
Added darwin uname completions, fixes #778
2013-05-24 23:11:45 -07:00
ridiculousfish
5297d46017
Squashed commit of the following:
...
commit bb27562af5333f84b9995b50b59c767eaae12f7c
Author: Terje Larsen <terlar@gmail.com>
Date: Mon May 20 04:18:09 2013 +0200
Enhance completions for git rebase
commit e9f69ea4f9deb7a7c9284148591ff2075748ab8c
Author: Terje Larsen <terlar@gmail.com>
Date: Mon May 20 03:56:51 2013 +0200
Enhance completions for git merge
commit 75974f9c2468b381069f11f8e1a03e86af1e47d7
Author: Terje Larsen <terlar@gmail.com>
Date: Mon May 20 03:40:27 2013 +0200
Enhance completions for git add
commit ec6aeab105f351a6d2184078d84d32bb12df3204
Author: Terje Larsen <terlar@gmail.com>
Date: Mon May 20 03:16:48 2013 +0200
Enhance completions for git tag
commit c3a1c17c436a670588a692240a562e2436538498
Author: Terje Larsen <terlar@gmail.com>
Date: Mon May 20 03:09:13 2013 +0200
Add git completions for stash
commit 40baae8c75151be753da9efc309287662818d93d
Author: Terje Larsen <terlar@gmail.com>
Date: Mon May 20 02:54:19 2013 +0200
Enhance completions for git push
commit 6d9023bb744f80e33481f765d542a17ecf6ccf19
Author: Terje Larsen <terlar@gmail.com>
Date: Mon May 20 02:32:27 2013 +0200
Enhance completions for git pull
2013-05-24 23:08:51 -07:00
Max Gonzih
994e9fe9de
Implement subcommand arguments completion for zypper package manager
2013-05-24 20:52:34 -07:00
Max Gonzih
e63a2a2152
Add completion for zypper pkg manager (openSUSE)
...
Implemented subcommand completion, global arguments completion
Not implemented yet subcommand arguments completion
2013-05-24 20:52:34 -07:00
Patrick Browne
2997ce2e3c
quote command for it to be ran every time
2013-05-24 15:09:57 +02:00
Patrick Browne
b8028c1b1d
added options for git add
2013-05-24 14:10:00 +02:00
Patrick Browne
568de8157a
added completion for git add --patch
2013-05-24 14:01:47 +02:00
ridiculousfish
8befc474c1
Ugly hack to move functions in sample prompts inside fish_prompt to address #736
2013-05-13 10:17:31 -07:00
ridiculousfish
622efba247
Space -> tab in ack completion to match rest of file
2013-05-13 02:06:18 -07:00
Dag Odenhall
ce0c52d353
Silence errors when ack doesn't support --dump
...
It seems to be new in ack 2.x and with 1.96 I get error messages when
the ack completions are loaded.
2013-05-13 02:04:53 -07:00
David Adam (zanchey)
b03515276e
update darcs completions
2013-05-13 01:59:50 -07:00
David Adam (zanchey)
30af350be0
update cvs completions
2013-05-13 01:59:50 -07:00
ridiculousfish
2f5016262a
Attempt again to fix UnicodeDecodeError (issue #658 )
2013-05-12 01:57:42 -07:00
Dag Odenhall
2b99190a1b
Add completions for cabal; closes #567
2013-05-04 12:48:38 -07:00
Tin Tvrtkovic
3087f57453
Manually cleaned up Mercurial completions.
2013-05-04 12:44:03 -07:00
ridiculousfish
6496adf101
Make trap sort of work on OS X
...
https://github.com/fish-shell/fish-shell/issues/607
2013-04-28 16:31:25 -07:00
ridiculousfish
79f8d5c51e
Fix __fish_filter_mime to not pass 0 to seq
2013-04-28 15:59:33 -07:00
ridiculousfish
ab385cd609
Teach fish about rxvt's special key bindings
...
https://github.com/fish-shell/fish-shell/issues/657
2013-04-28 14:36:11 -07:00
Tin Tvrtkovic
32c1d50887
Refactored out individual VCS completions.
...
Autogenerated completions for Mercurial using a recent version (no extensions installed).
2013-04-28 14:54:59 +02:00
Adam
330faab6cd
Typo in tar completion (vevrify->verify)
2013-04-27 14:48:33 +02:00
ridiculousfish
807c5f2ef2
Squashed commit of the following:
...
commit 839e9c2ec00fcd72b19f1d415bee26af7f51f8aa
Author: lledey <lledey@gmail.com>
Date: Tue Apr 23 13:28:23 2013 +0200
Fix git branch completion if grep output is not the default one
Signed-off-by: lledey <lledey@gmail.com>
commit 7798ed05744636f67d177bcb47d48d6aeca12787
Author: lledey <lledey@gmail.com>
Date: Tue Apr 23 10:35:35 2013 +0200
Fix git branch completion if grep output is not the default one
Signed-off-by: lledey <lledey@gmail.com>
2013-04-26 21:42:31 -07:00
ridiculousfish
f7708955b6
Make ack completion not spew to stderr if ack is not installed
2013-04-26 21:33:17 -07:00
Konrad Borowski
be9024767e
Allow dynamicly adding types
2013-04-26 12:08:11 -07:00
Konrad Borowski
a1a83f8880
Insanely long ack completion
2013-04-26 12:08:11 -07:00
Siteshwar Vashisht
6889232b41
Moved lein.fish under share/completions
2013-04-21 10:55:41 +05:30
Thomas Kühnel
7c6695354e
Append / to the end of directories for scp completion as suggested by https://github.com/fish-shell/fish-shell/issues/42#issuecomment-7205032
2013-04-20 13:26:06 -07:00
ridiculousfish
2517832718
Teach fish_config how to find fish from __fish_bin_dir
...
Fixes https://github.com/fish-shell/fish-shell/issues/621
2013-04-15 14:15:47 -07:00
ridiculousfish
1c5556334d
Try to fix UnicodeDecodeError in create_manpage_completions.py
...
https://github.com/fish-shell/fish-shell/issues/658
2013-04-15 01:05:56 -07:00
hansstimer
299d803396
Update go.fish
...
Fix typo for vet subcommand
2013-04-14 16:13:50 -07:00
Hans Stimer
d513ace39d
add completion for the Go tool
2013-04-14 16:13:50 -07:00
ridiculousfish
0e24676144
Fix to make create_manpage_completions work with Python 3
...
Fixes https://github.com/fish-shell/fish-shell/issues/658 ?
2013-04-14 02:03:53 -07:00
ridiculousfish
b0132821ac
Use 'command git' instead of git to defeat certain git aliases
...
https://github.com/fish-shell/fish-shell/pull/622
2013-04-14 02:03:53 -07:00
Greg Dietsche
6de30028a8
tmux: make session auto-completion user friendly
...
make it more user friendly by matching the output of:
tmux list-sessions
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-12 14:03:26 -07:00
Greg Dietsche
c78c1427be
tmux: use status-left short flags
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Conflicts:
share/completions/tmux.fish
2013-04-12 14:03:26 -07:00
Greg Dietsche
953e7fd717
tmux: implement Status Line
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-12 14:03:26 -07:00
Greg Dietsche
1ae08cfedf
tmux: implement ENVIRONMENT
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-12 14:03:26 -07:00
Konrad Borowski
aa78292c2a
Update apt-get completion. Fixes #652 .
2013-04-09 22:04:04 +05:30
Greg Dietsche
993c028579
make punctuation consistent
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-07 16:49:47 -07:00
Greg Dietsche
9285ade8a8
ftp: add support for ftp and pftp
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-07 16:49:46 -07:00
Greg Dietsche
83e9f0dd91
grep: add support for egrep, fgrep, rgrep
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-07 16:42:28 -07:00
Greg Dietsche
c641f5cbdc
grep: fix and add completions
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-07 16:42:28 -07:00
ridiculousfish
fccf38a4d6
Don't pass 0 to seq because BSDs are dumb. Pipe tmux stderr to /dev/null
2013-04-04 21:52:23 -07:00
ridiculousfish
46edc49ede
Squashed commit of the following:
...
commit 6259665e972d478f1ce4ab3d233033ec1dd7eef2
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Thu Apr 4 11:02:35 2013 -0500
change spaces to tabs
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 465333d982db441f430767b645fdcd95e44cc5d6
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Wed Apr 3 11:15:22 2013 -0500
tmux: implement completion for panes
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 684baf98a6ac070847f20a02838abe58e8c22d5b
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 23:56:27 2013 -0500
tmux: don't suggest dirs
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 8c4a9854a1f173866439f976301b743354c945c8
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 21:57:40 2013 -0500
move front flags to the top of the tmux file
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 7f2321e9cd20a5aa2bcbfe940e20ec57bcca2609
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 20:06:54 2013 -0500
fix some of the initial parameters
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit f70fc55bed40c0ccd2a00921c0e7373e7c18b5d7
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 21:47:25 2013 -0500
implement tmux KEY BINDINGS
implement the commands in the KEY BINDINGS man page section
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit ec423040dba742f67c06dbb932417f6d19b90fba
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 00:10:43 2013 -0500
implement tmux completion for CLIENTS AND SESSIONS
Fully implement all tmux commands found in the tmux man
page section titled: "CLIENTS AND SESSIONS"
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-04 21:52:06 -07:00
Valerii Hiora
c05281492d
Improved brew completion
...
Using arg completion
Context-based completion for most of commands (i.e. only installed
packages for upgrade or remove, only outdated for upgrade and so on)
2013-04-04 21:41:59 -07:00
ridiculousfish
5cebd3abf7
Teach git completion about difftool. Change __fish_git_ranges to output branches as designed.
2013-04-04 21:36:13 -07:00
ridiculousfish
0970487cca
Some spaces to tabs in __fish_print_hostnames
2013-04-03 18:46:50 -07:00
Greg Dietsche
d38f1380e9
Ignore hashed host names in ssh/known_hosts
...
Valid DNS names cannot have a | character and hashed ssh hosts
always begin with the | character. Therefore we ignore lines that
begin with |.
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-03 18:45:13 -07:00
Greg Dietsche
2626b83b08
the host keyword in ssh/.config is case insensitive
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-03 18:45:13 -07:00
ridiculousfish
2a6412481e
Fix a few more spelling / grammar issues in functions and completions
2013-04-01 10:52:27 -07:00
ridiculousfish
b4447bfa4d
Squashed commit of the following:
...
commit 1bbde16b17f04903340206bada9935ea64f785ba
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:12:22 2013 -0500
fix spelling in xterm.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 392dd59da76e6a1293db79733e1975dbb9ef4032
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:10:08 2013 -0500
fix spelling in type.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit f82026828e4c08bdf355176f86489783c57efc80
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:09:34 2013 -0500
fix spelling in top.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 196f2ec59c0904eb13159d1063e2e6c6edbd50a8
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:08:16 2013 -0500
fix spelling in scrot.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 8400d97dce93afe48612c66eb8ddc2bd06b40968
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:07:48 2013 -0500
fix spelling in scp.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit b68bb3f36915520d2c271e48e2d5356e087e9fcf
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:04:30 2013 -0500
fix spelling in mount.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 97000184afde10ca26b6dda8597baa0593bb4e09
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:01:46 2013 -0500
fix spelling in hg.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 87ca4e71ce57842ab98e4d6b6f9274aafd9713a5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:00:37 2013 -0500
fix spelling in gzip.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 17246a21ad3df39660e6b4c86bf8c6a2239b416b
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:00:07 2013 -0500
fix spelling in gunzip.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 0f618600508695ed5a93110568343f8a783db8c5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:59:37 2013 -0500
fix spelling in grep.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit bacf6a62041d13f1766e90748cfc2c76e1b04b98
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:58:16 2013 -0500
fix spelling in git.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit f8f6a1914a8f2f60a14dac532f1d63dd8269f676
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:56:45 2013 -0500
fix spelling in fuser.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit dcdfd1552dfd360d1ce808706bc401d52cce22ce
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:54:58 2013 -0500
fix spelling in effectv.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 7b4388364f546b81f0557c500bb6a5207931c3be
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:53:45 2013 -0500
fix spelling in du.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 0450070e98adae2ebe19806f4fb74386a50de003
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:52:55 2013 -0500
fix spelling in df.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 49ae24ae0dbd06c72e6c994f1ea4ca9b385fdda5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:49:00 2013 -0500
fix spelling in cut.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 4eccc923f389e2fc0c498fc63e4bbeeccc177e9a
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:47:21 2013 -0500
fix spelling in compare.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 8c0cfb91c596ef7a1583877c8f38fab7e867cff2
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:46:46 2013 -0500
fix spelling in chown.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 4518b06c3fc8c565038ccbeeb0d2f8aea73e1ee0
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:46:08 2013 -0500
fix spelling in chgrp.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit a0a4fb3dc271c469482e87a0f9efab4016596f82
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:43:04 2013 -0500
fix spelling in apt-setup.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 740e75e5316e73fb03c00bd9b482786d1f387cc5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:42:25 2013 -0500
fix spelling in apt-rdepends.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 7a2727bcb96e58a023d0f8ab807f839e76555375
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:27:27 2013 -0500
fix spelling in fish_complete_pacman.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 0e28ff4c1c90bdbf1e1b780d0ab3c2ba04b3a463
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:26:17 2013 -0500
fix spelling in fish_complete_pgrep.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 1ca9fad713c460debcd851dfcffa135f3b579561
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:24:13 2013 -0500
fix spelling in trap.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit deb0c2129d50d627d720cbd549cf8aadc3113243
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:19:00 2013 -0500
fix spelling in fish_not_contain_opt.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 8a40bd08b37d5c80041b7beb58fb82d9b0592b5d
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:18:16 2013 -0500
fix spelling in fish_make_completion.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit f1c48dc8236a8eb5ba0e45e985e8dd7eadfb88e5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:17:09 2013 -0500
fix spelling in fish_gnu_complete.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit b6813883d9355f8e15917769d46b58cc8fab840d
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:16:33 2013 -0500
fix spelling in fish_git_prompt.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 97e3e74ddb743061a8e4349bf7895cf98cf9d9b2
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:13:11 2013 -0500
fix spelling in fish_complete_vi.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 7c31d5fec8f855fbc3496be7200915a1d2dc4d46
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:10:47 2013 -0500
fix spelling of in fish_complete_tex.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 3f06bdb91942c4d0e686d1bb8b5eff1983a91304
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:06:45 2013 -0500
fix spelling in fish_complete_list.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 5bfd9ef40547b744c9bbfb4cc6f8a7d880d8f3d6
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:03:14 2013 -0500
fix spelling in fish_complete_atool.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit b84a43ff0bad5e206a591891b6c7ff9028e14eb5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Sun Mar 31 23:40:28 2013 -0500
fix spelling of protocol in fish_complete_ssh.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-01 10:49:02 -07:00
ridiculousfish
7d480ff579
Make __fish_filter_mime not spew if there's no results
...
https://github.com/fish-shell/fish-shell/issues/628
2013-03-28 17:01:07 -07:00
Terje Larsen
7e9652787b
Add completion for ruby-build
2013-03-13 23:19:03 +01:00
ridiculousfish
234fb7c2fe
Rename print_service_names to __fish_service_print_names
2013-03-12 12:00:02 -07:00
aliva
2c7e0ef577
service name completion for "systemd service manager" added
2013-03-12 19:13:52 +03:30
Kenneth Vestergaard
1afdbb848e
Minor fix to order of arguments in error-message.
2013-03-09 13:03:28 -08:00
aliva
3bfcd5e105
recreate yum-cache file every six hours.
2013-03-02 01:48:56 +03:30
aliva
87aca05e7f
autocomplete 'yum install' using yum cache
2013-03-01 23:27:03 +03:30
ormris debian
d89fcdcc5f
Add proper desriptions to "git submodule"
2013-02-26 16:24:28 -08:00
ridiculousfish
d99c2cb9a7
Support /etc/paths and /etc/paths.d/* on OS X
...
https://github.com/fish-shell/fish-shell/issues/417
2013-02-22 14:01:17 -08:00
Konrad Borowski
3c8c8a7559
Remove useless __fish_complete_perl function
2013-02-21 12:53:35 -08:00
Konrad Borowski
a61e2caadb
Update Perl completion
2013-02-21 12:53:35 -08:00
ridiculousfish
12095c721c
Remove unnecessary eval in __fish_complete_cd
...
https://github.com/fish-shell/fish-shell/pull/589
2013-02-20 18:43:54 -08:00
Kenneth Vestergaard
286bef5eb7
Fix crash when /etc/{fstab,hosts} is unreadable.
2013-02-20 12:30:36 -08:00
ridiculousfish
aaa0c25ff7
Large set of changes to how PATH is handled. Changed fish to no longer modify PATH in share/config.fish. Introduced variable fish_user_paths, and a glue function __fish_reconstruct_path that splices together PATH with fish_user_paths. Changed fish to no longer validate changes to PATH unless the paths are new (i.e. don't recheck what's already there). Modified certain sets to store const wchar_t instead of wcstring to save a few allocations.
...
https://github.com/fish-shell/fish-shell/issues/527
2013-02-19 18:05:20 -08:00
Jan Kanis
2f43584727
small tweak to alias.fish: always add some prefix if in danger of infinite recursion
2013-02-19 22:58:55 +01:00
ridiculousfish
e7c1cb7185
Move autogenerated completions to ~/.config/fish/generated_completions/
...
https://github.com/fish-shell/fish-shell/issues/576
2013-02-17 16:14:36 -08:00
ridiculousfish
8b40f09e17
Add function wrapper for mimedb
2013-02-17 12:56:56 -08:00
ridiculousfish
db5eebd372
Add function for fish_indent so that it does not need to be in PATH, in preparation for making fish no longer need to set PATH
2013-02-13 14:44:10 -08:00
ridiculousfish
41fc3bcb74
Remove some debugging code inadverently left in __fish_complete_cd.fish
2013-02-11 14:42:23 -08:00
Jan Kanis
e8da9999f6
optimize 'alias', fixing bug #486 . Also some minor optimizations in 'type'
2013-02-05 23:14:06 +01:00
ridiculousfish
cd276030c1
Tweak config.fish to only modify PATH once, for performance
2013-02-01 17:18:12 -08:00
ridiculousfish
818533f9f0
Add a newline to prevent a comment from being cut off
2013-02-01 17:15:35 -08:00
ridiculousfish
ff7cbab991
Add man function to promote fish's man pages so it can serve as a suitable replacement for help
2013-02-01 17:11:22 -08:00
jonkerz
0db1b6ce44
Update share/completions/uname.fish
...
Typo: verion --> version
2013-01-31 00:09:06 -08:00
ridiculousfish
843d5a5977
Make a git variable local
2013-01-31 00:07:16 -08:00
ridiculousfish
406d7f1a47
commit bc4f3476cded71a096adf46534784cdd84edb913
...
Author: U0 <rhyzix@gmail.com>
Date: Wed Jan 30 15:02:23 2013 +0800
add completion support for aliased command
Make a variable local
2013-01-30 23:59:52 -08:00
Kevin Ballard
7df89566f3
Fix __fish_git_prompt's upstream indicator for git-svn branches
2013-01-30 22:02:51 -08:00
Kevin Ballard
32b2c9fc9e
Update __fish_git_prompt.fish to use 'else if'
2013-01-30 21:57:59 -08:00
ridiculousfish
ea8c6bc15e
Try to make Valgrind completion not complain if valgrind is not installed
2013-01-30 02:22:22 -08:00
ridiculousfish
27e71c5f37
Fix funced to stop outputing an error if no EDITOR is set
2013-01-27 13:14:24 -08:00
ridiculousfish
cddf7e0986
Clean up man page parser output a bit
2013-01-27 12:58:52 -08:00
ridiculousfish
2b35b3f06e
Fix umask in Linux https://gist.github.com/4627181
2013-01-26 12:49:37 -08:00
ridiculousfish
5e9ca72731
Break up $EDITOR before passing it to type to allow it to contain flags
...
More work on https://github.com/fish-shell/fish-shell/issues/541
2013-01-23 18:24:49 -08:00
ridiculousfish
debfc0f712
Allow $EDITOR to be an array. Fixes https://github.com/fish-shell/fish-shell/issues/541
2013-01-23 17:14:22 -08:00
ridiculousfish
3d0d9a250b
Remove Goodbye message. https://github.com/fish-shell/fish-shell/issues/521
2013-01-21 14:54:15 -08:00
Cheer Xiao
887474d607
Use double quotes in eval.fish
2013-01-20 15:55:10 +01:00
ridiculousfish
214ef3dd0b
Formatting
2013-01-16 14:50:08 -08:00
ciembor
406c8a6d1e
Ajax fix for Firefox, it isn't XML.
2013-01-16 14:45:59 -08:00
ridiculousfish
6416cb45fb
Fix proc and pid completion on OS X, and improve it on Linux.
...
https://github.com/fish-shell/fish-shell/pull/129
2013-01-16 14:11:43 -08:00
ridiculousfish
acbb6fb8e2
Make umask work on OS X
...
https://github.com/fish-shell/fish-shell/issues/515
2013-01-12 15:35:40 -08:00
ridiculousfish
1163961927
Actually add the seq function (oops)
2013-01-12 15:22:09 -08:00
ridiculousfish
dc37a8079e
Added a seq function that defers to the seq command if present
...
https://github.com/fish-shell/fish-shell/issues/137
2013-01-12 14:18:34 -08:00
ridiculousfish
de084b4a0d
Make create_manpage_completions not generate empty files
...
https://github.com/fish-shell/fish-shell/issues/506
2013-01-08 14:58:27 -08:00
Christian Rishøj
e46cbea251
completions for mosh ( http://mosh.mit.edu )
2013-01-08 12:32:49 -08:00
Cheer Xiao
f8e01628b2
Keybinding of \ew and \ed: Insert a newline before displaying info
2013-01-07 19:32:38 -08:00
lledey
f0000ea7d2
Re-enable alias redefinition
...
Fixes #494
Signed-off-by: lledey <lledey@gmail.com>
2013-01-07 15:09:32 +01:00
Vincent Driessen
431ef224e0
Remove origin/HEAD lines from __fish_git_branches.
...
Related discussion:
http://stackoverflow.com/questions/354312/why-is-origin-head-shown-when-running-git-branch-r
2013-01-02 08:16:42 +01:00
Jan Kanis
a4c646f75c
make 'alias' check for recursive calls and insert 'command'; update docs, fix #486
2013-01-01 22:56:08 +01:00