Dan Underwood
37f4cbe3d7
Fix of multiple synonyms for apm command
...
`__fish_apm_using_command` was incorrectly taking lists of commands, new function added to support multiple a command having synonyms.
Simplify switch statement
Also remove superfluous function.
Allow for multiple completions after a command
Useful for removing packages, will complete for more than one.
Code improvements
2015-09-28 18:30:08 +01:00
Fabian Homborg
126c8c14b8
machinectl: Add "shell" subcommand
2015-09-28 16:22:29 +02:00
Fabian Homborg
3992315505
Normalize cabal* completion
2015-09-28 16:08:01 +02:00
Fabian Homborg
eb4e4fa7ad
Normalize aura completions
...
Also fixes bug related to repo listings
2015-09-28 15:39:51 +02:00
Jan Ernsting
7376639789
Fix completion for totem
2015-09-27 14:36:16 +02:00
Fabian Homborg
5bb81461f6
Normalize ls completions and bring them up-to-date
...
This adds the --group-directories-first option for GNU ls and fixes a
typo in --block-size (not --blocksize).
Fixes #2425 .
2015-09-26 11:40:04 +02:00
Fabian Homborg
d591cebf44
Introduce __fish_print_pacman_repos helper
...
This is used in at least 4 places, all of which have a bug in that they
print "options" as a valid repo. It seems better to fix it once,
especially given that there are tons of AUR helpers and pacman wrappers,
all of which might need this info.
2015-09-25 13:37:39 +02:00
Fabian Homborg
be51fe944d
Fix vi* completions
...
I forgot a "-c".
2015-09-23 19:01:34 +02:00
Fabian Homborg
6f92781992
Refactor *vi* completions, add nvim wrapper
...
This assumes `vim` is always vim (or close enough, nvim should also
work), while `vi` could be either.
Fixes #2416
2015-09-23 12:59:05 +02:00
Fabian Homborg
fb615843b3
git completion: Describe aliases with their definitions
...
I could have sworn we had this already.
2015-09-22 20:25:14 +02:00
Fabian Homborg
c6d808a0d8
git completions: Switch more to string
2015-09-22 20:24:54 +02:00
Fabian Homborg
4f12821ca8
git completion: Rewrite __fish_git_ranges with the string stuff
...
Cuts down on perl.
Also complete heads (i.e. tags and branches) always.
2015-09-22 18:21:09 +02:00
Fabian Homborg
4fcda28d9b
git completions: Add remote branches with only one remote
...
Fixes #675
2015-09-22 16:46:43 +02:00
Johannes Schneider
054fb22854
Maven completion added
2015-09-19 22:27:04 +02:00
Fabian Homborg
be70ea7d49
Add completion for Arch's mkinitcpio
2015-09-17 18:23:37 +02:00
Fabian Homborg
1ef178c5e6
Add alsactl completions
2015-09-17 18:20:23 +02:00
Fabian Homborg
a79c7495c8
busctl completions: Fix usermode
...
Block-scope strikes again!
2015-09-17 18:12:00 +02:00
Fabian Homborg
f86ee20579
systemctl completions: Support systemd in /lib
...
Debian has not merged /usr/lib and /lib, so they install the `systemd`
binary at /lib/systemd/systemd.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790671
2015-09-16 23:18:04 +02:00
Dan Underwood
18a116394d
Complete atom package manager or apmd
...
Completions for `apm` now support both the Advanced Power Management client and the Atom text editor.
2015-09-16 15:54:42 +01:00
Konrad Borowski
094948db51
Fix issue with pkg --jail=value completion
2015-09-16 13:58:48 +02:00
Konrad Borowski
18c7e97ecc
Add pkgng command completions
...
Fixes #1054 .
2015-09-16 13:57:36 +02:00
Stefan Maric
527c932e93
Fix npm run completion executing only on completions load, also:
...
* Better handling of `npm run` output
2015-09-12 12:12:21 +02:00
Stefan Maric
cba3db6205
Remove redundant completions that lack descriptions for npm
2015-09-12 12:12:21 +02:00
Stefan Maric
3b798b1733
Make use of npm completion
2015-09-12 12:12:21 +02:00
Stefan Maric
f898d82536
Add script values as descriptions to npm run/run-script completion
2015-09-12 12:12:21 +02:00
Stefan Maric
3b5aab6edb
Complete list of available scripts for npm run/run-script command
2015-09-12 12:12:21 +02:00
Fabian Homborg
31d1e04301
git completion: Don't check $cmd[1]
...
Before we do anything else, remove this senseless piece of code
2015-09-10 16:17:14 +02:00
Fabian Homborg
a828f90d38
git: Add more options for format-patch and submodule
...
Not all of them and only those that don't accept arguments for now
Fixes #1996
2015-09-10 15:22:16 +02:00
Fabian Homborg
00556734bc
git completion: Ignore stderr for all commands
...
Might print unrelated crap if we try to complete while not in a git repository
2015-09-10 15:22:16 +02:00
Fabian Homborg
2587bbc4a7
rbenv completion: Remove trailing spaces
2015-09-10 15:10:25 +02:00
Fabian Homborg
e9fcbb334e
rbenv completion: Support ruby-build as plugin
...
Fixes #1028
2015-09-10 02:04:40 +02:00
Fabian Homborg
b85a8bbbfe
Rename sgrep to __fish_sgrep
...
Makes it harder to cause issues with aliases, see fish-shell#2245
2015-09-09 20:55:04 +02:00
Fabian Homborg
925f451773
Add descriptions to dd completions
...
Fixes #752 .
2015-09-09 19:40:58 +02:00
Jan Ernsting
7f28acc5ed
Complete tags for git-tag only
2015-09-07 13:35:50 +02:00
Jan Ernsting
f36d2ff55f
Ensure display of modified files for git commit
2015-09-07 13:35:34 +02:00
Jan Ernsting
396e01a0e0
Add missing description
...
git reset allows for files and branches as completion results
2015-09-07 11:05:47 +02:00
Jan Ernsting
787c1304c6
Add file completion for git-reset
...
Staged files are now offered for completion
2015-09-07 11:05:47 +02:00
Jan Ernsting
d92c08c9bb
Add completion for git-commit
...
Modified files are provided for completion
2015-09-07 11:05:47 +02:00
James
5e1c71b059
Added completions for entr
2015-09-02 13:59:25 +02:00
Fabian Homborg
67ed58b0ba
gpg: Complete files for --import
2015-08-24 12:38:24 +02:00
Fabian Homborg
a815e6ca14
Fix ping -I completion
2015-08-21 19:16:04 +02:00
Fabian Homborg
5e555fc1cf
Completions: Don't check $cmd[1]
...
This is already done by fish before calling the completion.
It breaks completion with combiners (#2025 ) and also with wrappers.
(This does not include git because that's better solved in #2145 )
2015-08-17 12:29:03 +02:00
Fabian Homborg
cb5d36d89f
Add completions for systemd's localectl
2015-08-17 12:02:50 +02:00
Benjamin Pollack
5a2287c52f
Clean up completions for Fossil
...
There are two main problems in the existing Fossil autocompletion that this
patch solves:
* Because Fossil lacks an alias system similar to those in Hg and Git,
wrapper scripts are common, and aliasing them to `fossil` is also fairly
common. The lack of the `command fossil` pattern in the completions script
meant that the actual fossil command might not be called, but rather the
alias. This problem has been fixed by introducing a __fish_fossil command,
similar to the __fish_hg and __fish_git commands in those completion shells,
that does this, and converting all explicit fossil calls in the completion
script to use __fish_fossil instead
* Because there's now a centralized location for calling Fossil, I also moved
all of the repetitive stderr redirects that function.
This results in more robust and cleaner code.
2015-08-14 10:36:37 -04:00
faho
a65a288eca
Merge pull request #2256 from jcelliott/python-completion
...
Improve completion for python -m flag
2015-08-14 12:32:52 +02:00
Fabian Homborg
6157a9a858
Fix wesnoth completion
2015-08-10 19:01:50 +02:00
Fabian Homborg
6b92c4867d
Fix source completion by making "..fish" symlink regular file
...
Also fixes #2286 by removing the only symlink.
2015-08-09 23:10:17 +02:00
Fabian Homborg
db5c02fbfc
abbr completions: Describe abbreviations with what they abbreviate
...
i.e. "abbr -e <TAB>" will list
am (alsamixer)
2015-08-06 20:15:36 +02:00
Mike Meyer
938da3039d
Fix extra redirection.
2015-08-06 18:43:26 +02:00
faho
cfeae48b83
Merge pull request #2267 from mwm/fossil-completions
...
Various fossil completions fixes
2015-08-06 14:04:53 +02:00
Fabian Homborg
50f18ddaad
Cower: Enable description and ignore errors when search string is too short
2015-08-06 12:57:40 +02:00
Fabian Homborg
2874650802
gpg: Fix key/user id completion
...
This was too simplistic, among other things it completed things that
looked like key ids but weren't, didn't turn "\x3a" back into
colons (which made the argument invalid)....
gpg is weird.
Might fix #2150
2015-08-05 22:38:42 +02:00
Fabian Homborg
1271de321e
gpg: send-keys takes a key id, not a user id
2015-08-05 22:36:12 +02:00
Fabian Homborg
a265ee6f6f
gpg completion: Add "-k", don't append "," so much
2015-08-05 21:59:58 +02:00
Fabian Homborg
e196203320
Add completion for systemd's timedatectl
2015-08-05 17:45:36 +02:00
Fabian Homborg
33d062cb60
pacman completion: Offer "command-options" first
2015-08-05 17:43:15 +02:00
Fabian Homborg
53bcd4b1ab
Add iptables completion
...
This is far from perfect, but I need to gather more feedback.
2015-08-05 17:41:14 +02:00
Fabian Homborg
385f961b29
systemctl: Add new options from 220
2015-08-05 17:38:58 +02:00
Fabian Homborg
eada714a0a
Complete machines in systemd tools
2015-08-05 17:38:17 +02:00
Mike Meyer
158d3cc743
Many small fixes, and done big one.
...
Bit one: Make all the fossil command invocations throw away stderr so we don't
get annoying messages when not in a repository.
Also:
- Move checkout into alphabetical order.
- Fix ls to complete against tags for -r option, not no option.
- Add missing option to delete command.
- Make commit complete against modified files.
- Make add only complete against extra files.
- Remove now ununused function to list extra & modified files.
- Add -f option in a number of places where it seemd appropriate.
2015-08-04 06:51:51 -05:00
Mike Meyer
618a4b42ad
Fix type, add tag completion to checkout.
2015-08-03 17:16:44 -05:00
Mike Meyer
e2c81e54e2
Add completions for fossil checkout.
2015-08-03 16:11:26 -05:00
Fabian Homborg
546ba888ae
Complete commands in pacman again
...
"noopt" was mistakenly turned around by missing a "not".
2015-07-31 22:36:00 -07:00
Joshua Elliott
bc7eb39781
Improve completion for python -m flag
2015-07-30 16:04:39 -06:00
Lars Grefer
b1ed15a07a
Tab-Completition for atom
2015-07-29 09:58:19 +08:00
Lars Grefer
9dc6ef6771
Tab-Completition for sass
2015-07-29 03:43:31 +02:00
David Adam
d3a0372e89
grep completions: remove trailing end statement
2015-07-26 00:16:48 +08:00
David Adam
d1d36cc9af
Merge branch 'death_of_mimedb'
2015-07-25 13:04:28 +08:00
David Adam
60fdd71f74
read: update completions
...
--right-prompt added in fe9cf673a2
but missed from the
completions.
With thanks to nafg@github.
2015-07-24 18:18:10 +08:00
Lars Grefer
821e8ec59a
Completion support for the main commands of the travis command line tool
2015-07-24 02:29:53 +02:00
David Adam
6c668868e9
death of mimedb: remove mimedb from the tree
2015-07-23 14:35:35 +08:00
Fabian Homborg
3b0805f4d7
Normalize *diff completions
2015-07-20 15:19:03 -07:00
Fabian Homborg
0c1485c325
Normalize *grep completions
2015-07-20 15:19:03 -07:00
Fabian Homborg
86554d66d0
Indent svn completion
...
Seems emacs' fish-mode sometimes breaks
2015-07-20 15:19:03 -07:00
Fabian Homborg
6475d763d0
Remove function and descriptions from rc-service completion
...
The descriptions are "Start: Start the service"
"Stop : Stop the service"
"Restart: Restart the service"
2015-07-20 15:19:03 -07:00
Fabian Homborg
7add4d5782
Normalize *tex completions
2015-07-20 15:19:03 -07:00
Fabian Homborg
f70b1ffbbf
Normalize python* completion
2015-07-20 15:19:03 -07:00
Fabian Homborg
8a9b7dc63a
Normalize *sum (md5sum et al) completions
2015-07-20 15:19:03 -07:00
Fabian Homborg
3f30096727
Normalize svn completion
2015-07-20 15:19:02 -07:00
Fabian Homborg
52ff997bf0
Normalize atool completions
...
Remove function, use wrapping.
2015-07-20 15:19:02 -07:00
Fabian Homborg
b1a0498ff9
Update emacs completion with all options, remove silly mime-hack
...
__fish_complete_mime used in that way is a no-op on current fish anyway,
and emacs is by no means useful for just text files (it can also view
PDFs, images, ...).
Otherwise this completion currently only offers options, not arguments.
For most these are pretty much incompletable (lisp code, for example),
and for others it's just not all that useful.
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
2015-07-20 09:05:37 +08:00
Fabian Homborg
882f4714ac
pacman completion: Turn into regular completion
...
This used to be a function because we didn't have complete -w
Use that and it becomes a bit simpler.
This also simplifies the code in a few other ways (like removing a
useless-use-of-cat)
and adds comments about a few edgecases.
2015-07-19 18:03:01 -07:00
Fabian Homborg
f359ded336
sysctl completions: Add OSX support
2015-07-19 17:52:25 -07:00
Fabian Homborg
ff4b1104a2
Add sysctl completion
...
See fish-shell/fish-shell#1375
2015-07-19 17:52:25 -07:00
Fabian Homborg
e35a2450d9
Apropos completion: Ignore stderr
...
Fixes fish-shell/fish-shell#1171
2015-07-19 17:32:03 -07:00
Fabian Homborg
97edc96afd
Improve journalctl completion
...
- Complete fields and (more importantly) values
- Add all options
- Complete boots
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
2015-07-16 16:29:53 +08:00
Fabian Homborg
0f3306870b
machinectl: Fix fatal errors in __fish_systemd_has_machine_image
2015-07-02 14:36:48 +08:00
Fabian Homborg
a1b86749cf
machinectl completions: Add --no-ask-password
2015-07-02 14:36:48 +08:00
Fabian Homborg
25d19f7d63
Add completions for systemd's machinectl
2015-07-02 14:36:48 +08:00
David Adam
976ce1e8fd
Add completions for Debian's Apache tools, a2{en,dis}{mod,conf,site}
...
Work on #2141 .
2015-06-26 16:14:01 +08:00
Fabian Homborg
ad237136e7
Add completion for systemd's busctl
2015-06-23 16:02:59 -07:00
David Adam
18d7465592
Merge branch 'Integration_2.2.0'
2015-06-05 14:02:25 +08:00
David Adam
013d91d4ee
Revert "Add completions for pass"
...
This reverts commit bfbeca8b6c
which was
submitted in #2089 .
`pass` ships its own completions and duplication is likely to cause
problems.
See https://github.com/fish-shell/fish-shell/pull/1843 for the
rationale.
2015-05-25 12:02:05 +08:00
John Pham
8e0c1c70ce
Add completions for git-filter-branch
2015-05-23 11:43:54 +02:00
Rico Sta. Cruz
bfbeca8b6c
Add completions for pass
2015-05-23 06:07:57 +08:00
David Adam
c0cf25cf0b
abbr: rename --remove to --erase
...
for consistency with other fish commands
Closes #2071 .
2015-05-22 09:48:39 +08:00
Roman Hargrave
9dc53f7c1b
Added completions for apt
command
2015-04-16 10:47:36 +08:00
Nathan L Smith
34296dd440
add completions for test kitchen
2015-04-07 13:49:54 +08:00
Fabian Homborg
22103e4849
systemctl: Fix devices/slices/scopes/swaps completion
...
A rogue single-quote meant that a non-existent function
'__fish_systemctl_$t' was called
2015-03-11 13:29:18 +08:00
Fabian Homborg
5a9b1b1b57
Revert "Adjust filters a bit" - it doesn't work for .service
...
Unfortunately, list-unit-files doesn't understand --state=loaded
This needs a new function to explicitly use list-units
This reverts commit 9f521b7694
.
2015-03-06 23:05:24 -08:00
Fabian Homborg
d99ed89aa3
Adjust filters a bit
...
This includes only showing unmasked units in mask, only loaded units in
start and more types in show/list-dependencies
2015-03-06 23:05:24 -08:00
Fabian Homborg
b9dd057a04
Make enable/disable completions work again
...
Was single-quoted, should have been double-quoted
2015-03-06 23:05:24 -08:00
Fabian Homborg
369a09e57e
Simplify code by removing duplicated descriptions
...
For-loops ftw!
2015-03-06 23:05:24 -08:00
Fabian Homborg
468648ff51
systemctl completions: Improve option handling
2015-03-06 23:05:24 -08:00
Fabian Homborg
8c41a053fe
systemctl completions: Show options for --property=
...
Inspired by the official bash completion, this uses systemd --dump-configuration-items.
2015-03-06 23:05:24 -08:00
Fabian Homborg
a1b3358cb8
systemctl completions: Remove duplicated commands
2015-03-06 23:05:24 -08:00
Fabian Homborg
16e65c849c
systemctl completions: Only list matching units on enable/disable
2015-03-06 23:05:24 -08:00
Fabian Homborg
33c0d93b20
systemctl completions: Add more unit types and commands
...
It should now support all unit types mentioned in systemd.unit(5)
2015-03-06 23:05:24 -08:00
Fabian Homborg
3d163eb910
systemctl completions: Simplify code by using __fish_seen_subcommand_from
2015-03-06 23:05:24 -08:00
Fabian Homborg
388a8d09d8
systemctl completions: Support command-after-options
...
This fixes completions for e.g. `systemctl --quiet status`
2015-03-06 23:05:24 -08:00
Trenton Broughton
dd595dd110
Added some common completions
...
* Added completion for `git branch --merged`
* Added completion for `git branch --no-merged`
2015-02-19 11:10:04 -05:00
David Adam
1ff9aba6b1
rsync completions: rework transformation of file list
...
Accounts for filenames that contain spaces.
Closes #1872 .
2015-01-23 12:27:23 +08:00
Jelte Fennema
f920be5ea3
Make emerge completion more powerful
2015-01-19 17:39:37 +08:00
Jelte Fennema
f9384fe323
Make commands more readable
2015-01-19 17:39:25 +08:00
ridiculousfish
8d50b2509d
Update completions for fish_indent
2014-12-24 13:07:28 -08:00
Jonathan Arnett
04651105a8
Tmuxinator completions
2014-12-24 02:22:41 -05:00
Igor Savchuk
381404c4f4
tmux completion: add more attach-session aliases
2014-12-08 17:29:24 +03:00
Konrad Borowski
2f96d2b19a
Add cygport completions provided by Andrew Schulman
...
Squashed commit of the following:
commit a396c5e95a9987ea8ce6e057910131886d1b9695
Merge: bfd1951
f329530
Author: Konrad Borowski <x.fix@o2.pl>
Date: Mon Dec 1 17:54:02 2014 +0100
Merge branch 'master' of https://github.com/andrex-e-schulman/fish-shell into andrex-e-schulman-master
commit f32953064e
Author: Andrew Schulman <andrex-e-schulman@users.noreply.github.com>
Date: Mon Dec 1 05:34:29 2014 -0500
improve descriptions of pkg and diff
commit 81def0fb30
Author: Andrew Schulman <andrex-e-schulman@users.noreply.github.com>
Date: Mon Dec 1 04:51:20 2014 -0500
simplify cygport option descriptions
commit 4d84eb3e5c
Author: Andrew Schulman <andrex@5200-glenwood.net>
Date: Mon Dec 1 04:32:47 2014 -0500
add command descriptions to share/completions/cygport
commit c7ff7e4fa2
Author: Andrew Schulman <andrex@5200-glenwood.net>
Date: Mon Dec 1 03:09:00 2014 -0500
add share/completions/cygport.fish
2014-12-01 17:54:59 +01:00
Vladimir Varankin
019c0fed23
Add completion for git-clean
2014-11-29 00:15:49 +03:00
Misty De Meo
8e8549ef7a
brew completion: update completion
...
* Remove unsupported options
* Add new 'unpack' command
2014-11-20 08:53:53 +08:00
ridiculousfish
93eea8de66
Filter lines starting with hash from /etc/shells and /etc/group
...
Fixes the useradd completion when these files
contains comment lines
2014-11-19 11:42:55 -08:00
David Adam
2ddd839f52
Fix error in yum completions
...
Pass -- to contains.
Closes #1811 .
2014-11-17 18:16:11 +08:00
jbbrokaw
9d7fbd2cc0
Fixes typo on line 86
2014-11-04 11:06:21 -08:00
jbbrokaw
32010d1d93
Changes tabs to 4 spaces per fish style
2014-11-04 11:06:21 -08:00
jbbrokaw
75860db511
Adds heroku toolbelt completions
2014-11-04 11:06:20 -08:00
Alex Sulim
d62694a9ce
Update completion for Bundler
...
All commands and options available for Bundler version 1.7.4
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au> (with trailing
fullstops removed)
2014-10-28 11:58:31 +08:00
Natrim
f03d90e9de
Add Composer completion
2014-10-26 22:04:47 +08:00
Roman Inflianskas
cfa41686d2
Add setfacl completions
2014-10-21 08:27:32 +08:00
Diego Zamboni
d982f2a575
Vagrant completion updates
...
Improve vagrant completions for some commands to avoid spurious
completions, and add completions for some missing Vagrant commands.
Fixes #1748 .
2014-10-10 15:06:00 -07:00
Kevin Ballard
80859b8483
Revert "Remove help completion for eval, which doesn't work"
...
This reverts commit d2f23e1df4
.
2014-10-09 17:59:14 -07:00
ridiculousfish
d2f23e1df4
Remove help completion for eval, which doesn't work
...
Fixes #1379
2014-10-08 11:50:04 -07:00
David Adam
501c3d5518
abbr.fish: add abbr, a command to manipulate abbreviations
...
Work on #731 .
2014-10-05 12:23:31 +08:00
Konrad Borowski
1665f84d60
Fix Perl module completions.
...
This fixes the issue with nonexistant directories (some Linux
distributions put these for local modules), and also fixes the
issue of dot meaning any character instead of simply dot.
2014-10-04 11:22:56 +02:00
Roman Inflianskas
fabee7e246
add yast2 completion
2014-10-04 00:41:10 +04:00
Jon Gjengset
0ffa434926
Prevent STDERR leak from abook detection in mutt completion
...
Fixes #1737
2014-10-03 14:39:42 -04:00
Vincent Huang
15ca3b426f
Added some completions for opam
...
All opam subcommands and descriptions are covered, along with
all the flags that are common to all commands. However, only
`opam config` has complete subsubcommand coverage.
2014-09-29 14:34:07 +08:00
David Adam
1c9aec4899
bind: add completions for -m and -M
...
See https://github.com/fish-shell/fish-shell/issues/1663
2014-09-29 14:22:37 +08:00
Kevin Ballard
a9c8b75599
Tweak git completion for aliases/stashes
...
Use the new `read -z` flag to complete git aliases better. This approach
won't break if an alias contains a newline.
Also fix stash completion, which was broken on BSD sed.
2014-09-21 19:54:42 -07:00
Konrad Borowski
166a2f91bd
Use double dashes for contains in fossil completions.
...
This fixes the issue with strange behaviour of fish shell when first
option of a command is an option.
2014-09-21 14:32:37 +02:00
Kevin Ballard
a381ac2691
Complete custom git commands in $PATH
...
Git treats executables in $PATH that start with "git-" as custom
subcommands. Add completion support for them.
Fixes #1680 .
2014-09-19 19:19:59 -07:00
Kevin Ballard
e2be71cbe4
Better git alias completion
...
Config entries that contained the word "alias" but were not in fact
aliases no longer are treated as aliases.
2014-09-19 19:19:59 -07:00
David Adam
eb40baacfc
update completions for builtin commands
2014-09-17 10:17:48 +08:00
Konrad Borowski
71ab40e536
Add Fossil command completions.
2014-08-29 14:19:55 +02:00
ridiculousfish
fe68d30be9
Use sgrep instead of grep in ssh completion
2014-08-13 01:06:15 -07:00
ridiculousfish
a3a11c2e0c
Strip users with leading underscores from ssh completions
2014-08-12 14:46:59 -07:00
Kevin Stone
556680cf5e
Update grunt.fish
...
Fixed command error when no local Gruntfile results in a command error.
Fixes #1592 .
2014-08-02 00:04:26 -07:00
phette23
5591afff6e
add completions for Node.js & NPM
2014-07-29 18:35:08 -07:00
Michishige Kaito
2de914d8c3
Select the 4th line of output, instead of the second to last line
2014-07-16 18:22:27 +01:00
Michishige Kaito
616fa85458
Add grunt completion
2014-07-16 16:53:18 +01:00
Maxim Gonchar
3acd0dfe48
Add dropbox completion
2014-07-06 20:40:53 +08:00
SanskritFritz
b13179d4f4
Functions instead of static variables for conditions.
2014-05-03 12:30:41 -07:00
SanskritFritz
cf89d9bfb0
Fixed an unintended result of some copy paste.
2014-05-03 12:30:41 -07:00
SanskritFritz
f49848c8a4
Removed unnecessary comments.
2014-05-03 12:30:41 -07:00
SanskritFritz
0101b39f6c
Completions added/updated.
2014-05-03 12:30:41 -07:00
David Flores
2bbb59964f
functions on top
2014-04-19 14:50:15 -07:00
David Flores
4fd32eb48e
added docker completion file
2014-04-19 14:50:15 -07:00
Fabian Ruff
f2a507c4a7
fix gem --version/--help tab completions
2014-04-06 12:58:22 -07:00
Daniel Matz
2f6551b3b1
Properly detect when MQ is enabled for Mercurial completion.
2014-03-31 10:08:10 -07:00
Daniel Matz
50ae14cf7b
Properly complete Mercurial bookmarks when only one bookmark exists.
...
The if statement checking the output of hg bookmarks uses two conditions
joined by the or keyword. However, only the first part was being used.
Wrapping the two statements with begin and end properly combines them.
2014-03-31 10:08:10 -07:00
Daniel Matz
79b7cd69bb
Add fallback for label completion in older versions of Mercurial.
2014-03-31 10:08:10 -07:00
Daniel Matz
cf237a0e4f
Replace use of xargs with command substitution in Mercurial completion.
2014-03-31 10:08:10 -07:00
Daniel Matz
c0d147c5c4
Add the __fish prefix to all Mercurial completion functions.
2014-03-31 10:08:10 -07:00
Daniel Matz
bd707b4a96
Remove unnecessary use of uniq in Mercurial completion.
...
Fish already takes care of duplicate completions.
2014-03-31 10:08:10 -07:00
Daniel Matz
daaed863da
Use the current commandline token for Mercurial filename completion.
...
The token variable was being used, but I must have accidentally deleted its
definition while I was working on the original version of the file.
2014-03-31 10:08:10 -07:00
Daniel Matz
2bdfac2036
Use local scope for variables in Mercurial completion functions.
2014-03-31 10:08:10 -07:00
Daniel Matz
d74a23e583
Improve Mercurial command completion.
...
Rewrote the completion file by hand. Added completion of files, bookmarks,
revision labels, etc.
2014-03-31 10:08:09 -07:00
Lukas Stabe
6c987d6708
add pacsrv completion
2014-03-31 09:54:28 -07:00
Mandeep Sandhu
ef9f2ab31f
Add completions for git stash sub-commands
...
Closes #1102 .
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
2014-02-16 21:58:21 +08:00
Eric Mrak
d1cf5ab286
adding completion for aura. adding pacman integration for __fish_print_packages
2014-02-16 18:09:55 +08:00
David Adam
8490aac025
sshfs completions: use all directories as mount points
...
Closes #1268 .
2014-01-29 13:33:27 +08:00
Konrad Borowski
b9394b9599
Rename __fish_complete_usb function.
2014-01-14 08:28:15 +01:00
leafonsword
129d2f803a
新文件: share/completions/lsusb.fish
...
新文件: share/functions/__fish_complete_usb.fish
2014-01-13 20:24:20 +01:00
maxried
541db5fbbe
Update adb.fish
...
Added semi-documented but often used adb subcommand.
2013-12-28 12:24:58 +01:00
Andreas Eger
a3a918e900
adding elixir, iex, mix completions
2013-12-24 12:43:38 +08:00
Tom Sutcliffe
0e7acaa3c4
Added completion for Android adb command.
2013-12-05 10:43:44 +00:00
Shane Xu
0e7790df8c
add port information
2013-11-27 23:39:52 +08:00
Jelte Fennema
44d13869ad
Add eselect, rc-update and rc-service completions. (These are utilities used by Gentoo Linux)
...
Disable php completion for the 4th part of the command, since php-eselect is differently designed and causes errors
Closes #1131 .
2013-11-27 18:36:05 +08:00
Misty De Meo
0a54558ee2
Update brew completion with new options
2013-11-26 00:45:13 -08:00
Siteshwar Vashisht
6eb7530f75
Do not show files in modprobe completions
2013-11-17 01:21:28 +05:30
Thierry Goettelmann
76ab22f74c
Fix modprobe completion for newer modprobe versions
2013-11-16 20:13:41 +01:00
Konrad Borowski
c5c59d4acb
Implement file autocompletion for git add and git checkout.
...
Fixes bpinto/oh-my-fish#59 .
2013-10-31 21:24:58 +01:00
David Adam
edc4614e63
add completions for source and document the move away from '.'
...
Closes : #310
2013-10-28 23:33:24 +08:00
Konrad Borowski
e204ced1ae
Disallow package names with dots.
...
They cannot be used as arguments (Perl thinks it's version check, but
version checks are pointless for oneliners), and Debian puts path
containing version depending directories (like 5.14.2) in Perl path.
2013-10-25 19:36:10 +02:00
Ronaldo Maia
3788f462b4
Add postgres psql completion
...
Options and descriptions are from psql --help output. Database and username
completion based on the bash completion
2013-10-04 23:28:01 -07:00
Ronaldo Maia
238bbfcbbb
Add postgres psql completion
...
Options and descriptions are from psql --help output. Database and username
completion based on the bash completion
2013-10-04 23:28:01 -07:00
nulltrek
6990871efd
Fix git completions when aliased command is not found.
2013-10-02 21:40:19 +08:00
MagicMuscleMan
843944f558
Complete apt-get purge identical to apt-get remove
...
As apt-get purge really has the same operations as apt-get remove, there is not reason to handle them differently in its completion file.
2013-09-29 13:35:03 +02:00
Konrad Borowski
f76a16a727
Add Perl modules completion.
2013-09-22 20:12:14 +02:00
David Adam
fdef82f89c
rsync completions: complete hostnames ala scp
...
Closes #1010
2013-09-19 23:24:36 +08:00
David Adam
3d68d1bbe2
scp completions: use __fish_print_hostnames rather than doing independent hostname searches
2013-09-19 23:24:36 +08:00
Konrad Borowski
3996f178e5
Added git stash completion options.
...
Squashed commit of the following:
commit 962a19dfab
Author: Mandeep Sandhu <mandeepsandhu.chd@gmail.com>
Date: Wed Sep 18 18:09:49 2013 +0530
Add missing 'git stash' completion options
Fixed typo.
commit 57bbd89caf
Author: Mandeep Sandhu <mandeepsandhu.chd@gmail.com>
Date: Wed Sep 18 17:59:36 2013 +0530
Add missing 'git stash' completion options
Added the following options which were missing:
* save
* branch
2013-09-18 14:54:11 +02:00
ridiculousfish
cca60adc35
Fix useradd completion syntax
...
(https://github.com/fish-shell/fish-shell/issues/863 )
2013-09-02 00:34:54 -07:00
Adrien Grellier
f230da12c5
completion for vim-addons
2013-09-01 16:07:59 +02: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
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
raichoo
cabebd9f51
Fix broken darcs completion
2013-07-16 12:37:30 -07:00
David Celis
0b8f7d4fe7
Add completion for Bundler
...
Signed-off-by: David Celis <me@davidcel.is>
2013-06-20 00:05:28 +08: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