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