Ivan Trubach
6066e243e0
Fixed suspend --force conditions
2018-01-19 11:23:55 +01:00
Birger J. Nordølum
fde647214d
brew.fish: added cask completion & tweaks
2018-01-18 18:05:14 +01:00
Thom Chiovoloni
7b88187310
Add ability to autosave functions at the end of funced
2018-01-18 18:03:52 +01:00
Thom Chiovoloni
42fa841573
Fix #4480 by using a temporary file with a redirect to the correct location.
2018-01-16 18:38:20 +01:00
Thom Chiovoloni
7dae40a240
Revert "Work around OS X issue with dropped #fragment in launched URLs"
...
This reverts commit 80b658e247
.
2018-01-16 18:38:20 +01:00
David Adam
85131452fa
apt: add completions for policy
...
Closes #4652 .
2018-01-13 11:03:36 +08:00
MindTooth
721df61f4b
brew.fish: add the leaves option ( #4645 )
2018-01-06 12:39:15 +01:00
pinage404
1af4acbd0e
Add: ngrok
completions ( #4642 )
...
Completions are based on the help messages of [ngrok](https://ngrok.com/ )
2018-01-05 15:30:58 +01:00
emiliano
3cabed88e2
Add --no-color to more git invocations ( #4636 )
...
This breaks when git has been set to always print in color.
2018-01-03 14:35:27 +01:00
Fabian Homborg
3650712ff2
python completions: Disable file completion
...
Otherwise the prior commit was pointless.
2018-01-01 13:18:55 +01:00
Fabian Homborg
66f181499b
Strip quotes in __fish_complete_suffix
...
Fixes #4481 .
2018-01-01 13:18:40 +01:00
Mahmoud Al-Qudsi
0aa4c4a483
Add git completions for git push REMOTE :BRANCH
...
`git push REMOTE :BRANCH` deletes remote branch BRANCH from remote
REMOTE. Should only kick in when the pattern matches, hopefully didn't
break anything else!
2017-12-28 14:26:40 -06:00
Fabian Homborg
4096a7fda9
Revert "Fix "Unknown argument -s" error in fish_vi_key_bindings"
...
Unfortunately this made tests on travis fail - for some reason I still need to figure out.
This reverts commit 5acbd32c2e
.
2017-12-22 00:44:18 +01:00
Yurizal Susanto
94ff789c4b
Add eopkg completion support ( #4600 )
...
* Add eopkg support
Add support for eopkg in __fish_print_packages function, and
add new completion eopkg.fish in share/completions
* Sorry for the empty file
* Sorry for the empty file again
* Use builtin function for checking subcommand and options
* Fix description
* Use string function to replace grep and cut
* Add completion for search command
2017-12-21 16:43:21 +01:00
David Guyot
dcf9ce6fc5
Added completions/translations for zfs and zpool
2017-12-21 16:39:06 +01:00
Fabian Homborg
5acbd32c2e
Fix "Unknown argument -s" error in fish_vi_key_bindings
...
This was caused by it prepending "-s" to argv always,
and later checking $argv[1].
As it turns out, that is kinda superfluous, so we can just add "-s" to
the `bind` calls.
Also adjust the tests so the vi-bindings are enabled via the function,
which would have caught this.
Fixes #4494 .
2017-12-21 16:17:21 +01:00
Fabian Homborg
edcf9ebc12
[git completions] Remove staged_files function
...
Turns out "__fish_git_staged_files" does the same thing as "__fish_git_modified_files --staged".
Also use "--staged" instead of "--cached", which is a more
understandable synonym.
Many thanks to @thomcc on gitter.
2017-12-18 20:05:56 +01:00
Niraj Thapaliya
0c2d939e02
yarn run
tab completion
...
completes #4597
2017-12-14 22:58:08 -06:00
Niraj Thapaliya
7cd9c3b2bf
Clean trailing whitespace
2017-12-14 22:09:53 -06:00
Fabian Homborg
4ca9953114
Skip unusable paths in __fish_print_hostnames
...
See
https://github.com/fish-shell/fish-shell/issues/4511#issuecomment-343022740 .
This would try to `cd` to ~/.ssh even if it didn't exist. That's
clearly bogus.
2017-12-13 13:18:25 +01:00
PenegalECI
0f587320ed
Added translations for mdadm completions ( #4587 )
2017-12-12 22:24:02 +01:00
Ron Gebauer
7aaf897a72
Add modified completion for git diff ( #4592 )
...
* Add modified completion for git diff
* Add modified completion for git diff
2017-12-12 22:16:43 +01:00
Aaron Bieber
75e17e007d
add signify completions for OpenBSD
2017-12-12 19:19:09 +01:00
Aaron Bieber
37c7950a3f
add vmctl completions for OpenBSD
2017-12-12 19:19:05 +01:00
Aaron Bieber
eec47a173d
add rcctl completions for OpenBSD
2017-12-12 19:19:01 +01:00
Aaron Bieber
e135024cc4
add pkg_info completions for OpenBSD
2017-12-12 19:19:01 +01:00
Aaron Bieber
e57f5cc99b
add pkg_delete completions for OpenBSD
2017-12-12 19:19:01 +01:00
Aaron Bieber
8bfd3fa144
add pkg_add completions for OpenBSD
2017-12-12 19:19:01 +01:00
Aaron Bieber
53e08cd0d6
add OpenBSD pfctl completion
2017-12-12 19:18:57 +01:00
Aaron Bieber
bfd2885279
add package parsing for OpenBSD
2017-12-12 19:18:53 +01:00
Aaron Bieber
440df37b41
parse *BSD interface names
2017-12-12 19:18:53 +01:00
Aaron Bieber
db0ff0bcde
Add generic parser for /etc/man.conf
...
- Also rename get_paths_from_manpath() to get_paths_from_man_locations()
2017-12-12 19:18:47 +01:00
Aaron Bieber
277cd30520
add ffs to known filesystems
2017-12-12 19:18:47 +01:00
Mohammad Ali Alfarra
ba04c2af3d
Add exercism completion
2017-12-11 10:44:06 +01:00
Johan Walles
0e9d52bc41
[Informative VCS Prompt] Print failing exit codes
...
Before this change, if a command failed, this was indicated by the "$"
at the end of the prompt turning red.
With this change in place, if a command fails, the exit code of the
failing command is displayed in [square brackets].
2017-12-11 10:35:21 +01:00
Aleksey Filippov
4bcd0413f8
do not execute external command in pkill completions ( #4586 )
...
Running "cut" multiple times in a loop has an adverse performance
impact on first use, especially on slow systems. Using builtin "read"
for the same purpose is faster and cleaner.
2017-12-10 21:56:29 -08:00
Mahmoud Al-Qudsi
ae700c8707
Merge pull request #4581 from mqudsi/help_section_workaround
...
Work around OS X issue with dropped #fragment in launched URLs
2017-12-07 18:59:16 -06:00
ArkBriar
5faa425df1
fix #4521 ( #4575 )
2017-12-04 22:51:20 -08:00
Tony Wang
7d055a120e
fix patch completion
...
patch -i should be followed by a filename, and patch -d should be
followed by a directory
2017-11-29 12:15:43 +01:00
Ron Gebauer
a4fced2a8b
Create jhipster.fish
...
Add completion for jhipster
2017-11-26 19:21:46 -08:00
Ron Gebauer
ce4fdbaf7c
Create bd.fish
...
Add completion for bd, per https://github.com/0rax/fish-bd
2017-11-26 19:21:37 -08:00
David Guyot
b917f168d3
Improved french translations; minor completion corrections
2017-11-23 11:02:32 +01:00
Aaron Gyes
fa57565c42
Fix fish_opt --help
showing nextd manpage.
2017-11-14 01:56:58 -08:00
WEBER Logan
11cebe9483
feat(share:git-prompt): be able to truncate the branch name with a defined max length
2017-11-13 10:57:42 +01:00
Laurent Pireyn
b46b0310f3
Create Hugo completion ( #4529 )
2017-11-12 21:03:11 -08:00
Andrew Schulman
ed0a57ff6d
Update cygport completions
2017-11-08 22:19:52 +01:00
Fabian Homborg
60248e895f
Use __fish_complete_user_at_hosts
...
for various completions.
This makes the code a bit nicer, removes one of the
__fish_print_hostnames calls (which are slow) and a sed call, thereby
improving performance by about 33% (600ms to 400ms).
Fixes #4511 .
2017-11-08 12:59:31 +01:00
Judson
37e0fbb5e4
Paginating last command
...
Often, I want to paginate the command I just ran.
Easy enough to <up><alt-p>, but this patch saves a keystroke.
2017-11-01 07:35:26 +08:00
Fabian Homborg
1cd43a371b
Add "chsh -l" completion for util-linux chsh
...
AFAICT, the FreeBSD and macOS option of the same name isn't useful
with chsh, so we skip that.
Fixes #4497 .
2017-10-25 20:55:05 +02:00
Laurent Pireyn
3781862346
Fix typo in gradle completion ( #4500 )
2017-10-23 20:04:47 -07:00