Jason Nader
82ab7e39f0
mupdf: update completions
...
[skip-ci]
2020-02-28 11:17:38 +01:00
Jason Nader
39e6570d73
pkginfo: add pypi/pkginfo completions
2020-02-28 11:17:38 +01:00
Jason Nader
94a3a5ff37
telnet: remove gettext cruft
2020-02-28 11:17:38 +01:00
Jason Nader
5fa05d0504
telnet: update completions
...
GNU: https://www.gnu.org/software/inetutils/manual/html_node/telnet-invocation.html
FreeBSD: https://www.freebsd.org/cgi/man.cgi?telnet
OpenBSD: https://man.openbsd.org/telnet.1
NetBSD: https://netbsd.gw.com/cgi-bin/man-cgi?telnet+1.i386+NetBSD-8.0
[skip-ci]
2020-02-28 11:17:38 +01:00
Jason Nader
3279661e3a
whatis: add option completions
...
[skip-ci]
2020-02-28 11:17:38 +01:00
Jan Verbeek
d02736c0ce
Improve psql completions and add some related commands ( #6620 )
2020-02-28 11:16:41 +01:00
Jason Nader
6052758c28
Add strace completions (basic)
2020-02-26 16:32:58 +01:00
Fabian Homborg
cebfaa7786
completions/git: Work around read trimming whitespace
...
Since #6406 , read will trim whitespace before the last variable.
In this case there is only one variable, and the line looks like
M CHANGELOG.md
so it does indeed start with whitespace, and the whitespace is quite
significant.
Fixes #6650 .
[ci skip]
2020-02-25 18:53:46 +01:00
Jason Nader
0b7bbb5654
cleanup completions: localise/erase vars where possible
...
[skip-ci]
2020-02-23 11:10:32 +01:00
Jason Nader
90bd4aa2a1
lscpu.fish: disable file completions, localise var
2020-02-23 09:41:32 +01:00
David Adam
f036d01961
drop rg and bat completions
...
These are shipped upstream.
Closes #5822 .
2020-02-22 22:23:40 +08:00
Daniel Zhang
ff29d81532
Fix variable leaking in completion kill
2020-02-22 11:25:47 +01:00
Fabian Homborg
fb7af4eff2
Merge pull request #6581 from brunelli/master
...
Fix flatpak completion
2020-02-20 19:15:48 +01:00
Fabian Homborg
8195889dba
completions/mvn: Shorten descriptions
...
Bleedin' heck these were long and useless!
[ci skip]
2020-02-20 19:13:16 +01:00
David Adam
45fb2024f8
completions: drop shebang from non-executable files
...
These completion files do not get marked as executable, so they don't
need a shebang.
2020-02-18 21:34:19 +08:00
Fabian Homborg
65883e0e40
Restyle
...
Mostly line breaks, one instance of tabs!
For some reason clang-format insists on two spaces before a same-line comment?
(I continue to be unimpressed with super-strict line length limits,
but I continue to believe in automatic styling, so it is what it is)
[ci skip]
2020-02-17 14:14:05 +01:00
Jason Nader
a619f69b15
Rename functions to match others
2020-02-17 09:55:05 +01:00
Fabian Homborg
63b4a891ff
completions/optipng: Add missing quote
...
Oops!
This should be in 3.1.1!
cc @zanchey
2020-02-17 08:57:41 +01:00
Fabian Homborg
96587d26f5
completions/rbenv: Fix error spew
...
Fixes #6617
2020-02-17 08:57:41 +01:00
Aaron Gyes
b1bbb58af6
Reword open
completion descriptions, don't use sed
...
Fixes issue with (null) junk in -b completions
2020-02-14 14:45:23 -08:00
Fabian Homborg
56040d2d7f
completions/npm: Allow files for "install"
...
Fixes #6596
[ci skip]
2020-02-14 17:57:07 +01:00
Ian Brunelli
f456404482
Simplify flatversion extraction
2020-02-13 22:00:23 -03:00
Ian Brunelli
7516c408ae
Add description to flatpak remote completion
2020-02-12 16:54:54 -03:00
Ian Brunelli
e0551a184d
Add completion for flatpak enter and kill
2020-02-12 16:39:50 -03:00
Ian Brunelli
6d2537d2d9
Some cleanup as suggested
2020-02-12 16:31:21 -03:00
Ian Brunelli
8ebd6ddd92
Add completion for new flatpak commands
2020-02-12 07:36:03 -03:00
Ian Brunelli
d79ea5a898
Fix flatpak completion for versions >= 1.2
2020-02-12 06:21:29 -03:00
Maksim Novikov
682f4b04ad
Include special characters in conda env names
...
Allows completion for environments with names containing special
characters. For example: my-env, myenv.1, myenv+1
2020-02-11 18:28:06 +01:00
Collin Styles
ea8a2b2dda
Correct list-language
to list-languages
in bat completions
2020-02-10 21:38:59 +01:00
Jason Nader
fb00d6638e
completions/apt: Add support for filename completions
...
Plus some small fixes.
Fixes #6209
[ci skip]
2020-02-06 02:17:38 +01:00
Mahmoud Al-Qudsi
9bf5dfd738
Further enrich cargo
completions
...
* Replace multiple calls to `tail` and `string` with a single `string
replace` execution
* Dynamically generate list of available benches, bins, and tests for
`--bench`, `--bin`, and `--test` switches
[ci skip]
2020-02-04 18:12:02 -06:00
Mahmoud Al-Qudsi
8f4797a38b
Update cargo
completions to use dynamic --example
options
...
[ci skip]
2020-02-03 13:48:11 -06:00
Michael Sanders
3f8907d7cf
Add pyenv completions
2020-01-30 21:53:45 -08:00
Michael Sanders
5c8ef19ff8
Bring rbenv completions up-to-date
2020-01-30 21:53:14 -08:00
Johannes Altmanninger
50e08dc3a0
add completions for wireshark/tshark/dumpcap
2020-01-30 16:45:02 +01:00
Jason Nader
7d89cadd58
Stringify vared completions
2020-01-26 13:53:45 +01:00
Jason Nader
3142ef6dbc
Add interface label/name to the completions for -b
2020-01-26 12:26:47 +01:00
Jason Nader
b2969f4dfb
Fix typo in mplayer completions
2020-01-25 08:36:15 +01:00
Jason
2a247c7fe5
Stringify ssh completions ( #6529 )
...
* Stringify ssh completions
* Fix completions for `-b` option
* Fix completions for `-b` option
2020-01-24 18:29:17 +01:00
239
3e08083d49
Add completions for loginctl and resolvectl ( #6501 )
...
* Add completions for loginctl and resolvectl
* Add #6501
* Fix optional arguments
* Remove placeholder arguments
Fix expected arguments
2020-01-24 18:27:47 +01:00
Jason Nader
a5d625d389
Stringify j.fish
2020-01-22 17:43:18 +01:00
Jason Nader
2323a5629c
Stringify netctl completions
2020-01-22 17:41:43 +01:00
Jason Nader
1cafc4eff6
Amend comments incorrectly referring to sed
2020-01-22 17:40:31 +01:00
Aaron Bieber
0918b537ac
Get the list of VMs in a less fragile way.
2020-01-22 16:48:02 +01:00
Jason Nader
13a26a1c65
Remove dropbox
completions
2020-01-21 16:57:27 +01:00
Fabian Homborg
4e931fd967
completions/kill: Offer -SIGNAME
...
E.g. "kill -HUP".
2020-01-20 17:51:59 +01:00
Jason Nader
f63ae0fb4d
Add missing comment to bower.fish
...
Same comment found in yarn.fish
2020-01-20 19:45:21 +08:00
Fabian Homborg
0e5846ee38
completions/fish: Rename debug-level
...
This was renamed to just "--debug", but missed in the completions.
See #5910
[ci skip]
2020-01-19 13:28:21 +01:00
Shun Sakai
f04536637d
Add keepassxc-cli
completions
2020-01-18 12:27:04 -08:00
Shun Sakai
8c725c7d54
Add chronyc
completions
2020-01-14 17:17:28 +01:00
Shun Sakai
316bb88ee7
Add hwinfo
completions
2020-01-14 17:17:28 +01:00
Fabian Homborg
69b464bc37
Run fish_indent on all our fish scripts
...
It's now good enough to do so.
We don't allow grid-alignment:
```fish
complete -c foo -s b -l barnanana -a '(something)'
complete -c foo -s z -a '(something)'
```
becomes
```fish
complete -c foo -s b -l barnanana -a '(something)'
complete -c foo -s z -a '(something)'
```
It's just more trouble than it is worth.
The one part I'd change:
We align and/or'd parts of an if-condition with the in-block code:
```fish
if true
and false
dosomething
end
```
becomes
```fish
if true
and false
dosomething
end
```
but it's not used terribly much and if we ever fix it we can just
reindent.
2020-01-13 20:34:22 +01:00
239
56f52bc693
Add completions for cryptsetup ( #6488 )
2020-01-13 10:47:52 +01:00
Johannes Altmanninger
0c92c7d8ac
Fix remote path escaping for rsync and scp completions
...
They need to be escaped twice, for the local and the remote shell.
Also don't suggest local files as rsync remote paths (-a -> -xa) and
fix completion for remote paths containing multiple consecutive spaces.
Fixes #1872
[ci skip]
2020-01-13 10:30:57 +01:00
239
0acaf766a2
Update Keybase completions ( #6479 )
...
* Update Keybase completions
* Apply suggested change for filtering options
2020-01-10 17:12:12 +01:00
Aaron Gyes
c1140bc436
Improve kill
completions
...
Use string split instead of cut - which we'd fork for 2*signal
count times in a loop when tab was first pressed. Noticably faster
If giving a signal num, what works everywhere is -NUM, if giving
a signal name, what works everywhere is -s NAME - don't show -sNUM
or -NAME completions; that only works on GNU and it's redundant
anyhow as we show the signal number in the description field for -s
or the signal name for the -NUM case in the pager.
Sort -sNAME completions by the signal number not alphabetical
Shorten descriptions
2020-01-02 22:53:28 -08:00
Fabian Homborg
d0edd984d5
Let pacman-derived tools complete zst as well
...
Arch is switching to zst as the default compression method
2019-12-28 17:10:23 +01:00
Fabian Homborg
0866013280
Stop using __fish_complete_suffix with a braced argument
...
__fish_complete_suffix accepts a first argument containing a
brace-expansion, like
__fish_complete_suffix '.{c,cpp,py}'
We're gonna be removing the `eval` that does that shortly, so let's
remove all uses in our code.
2019-12-28 17:10:23 +01:00
Fabian Homborg
0e0d63c0df
completions/pipenv: Really force it to print fish completions
...
"To assume" and such.
It doesn't check $SHELL, so it might have some other automagic that
can fail (probably still because of the login shell, but I have no
idea).
Override the special variable that
click-completion (https://github.com/click-contrib/click-completion )
uses to force it instead.
Really fixes #6454 .
[ci skip]
2019-12-25 16:29:10 +01:00
Fabian Homborg
aba5beaeb4
completions/pipenv: Force it to print fish completions
...
This checks $SHELL to determine which completions to print, and $SHELL
is typically set by your login program.
So if the login shell isn't fish, this will print the wrong
completions.
Fixes #6454
[ci skip]
2019-12-25 16:16:08 +01:00
Sergei Morozov
624e76ae89
Added the --cleanup option completion for the git commit command
2019-12-21 20:03:54 +01:00
Johannes Altmanninger
6dd9e50f82
time: complete external time options only if available
2019-12-21 11:56:06 +01:00
Collin Styles
012773436e
Suggest unique remote branches for git-switch
...
From the `git-switch` documentation:
If <branch> is not found but there does exist a tracking branch in
exactly one remote (call it <remote>) with a matching name, treat as
equivalent to
$ git switch -c <branch> --track <remote>/<branch>
2019-12-14 09:50:48 +01:00
Collin Styles
afd8fc3cdf
Correctly suggest files for git-restore when --staged is present
...
Previously we would include all modified, deleted, and unmerged files
regardless of what options are present.
2019-12-14 09:50:48 +01:00
Collin Styles
48bf689358
Add completions for git-cherry-pick sequencer subcommands
2019-12-14 09:50:48 +01:00
Collin Styles
e7c401571b
Move unique remote branches up in suggested branches for git-checkout
...
Currently we suggest `origin/mybranch` before `mybranch` which seems
backwards. Most of the time users will want to check out `mybranch`.
2019-12-14 09:50:48 +01:00
Collin Styles
393c9ccf99
Add missing completions for git-branch
2019-12-14 09:50:48 +01:00
239
d23ea5f455
Added completions for Keybase commands
2019-12-12 14:16:21 +01:00
239
f1e4dc7ca8
Fixed completion for zpaq
2019-12-12 14:14:43 +01:00
Johannes Altmanninger
a446085c40
Update nmcli completions
...
Set variables for available connections and SSIDs only when the completion is loaded.
This is not perfect but faster than scanning for connections everytime.
Don't complete connection UUID, DBUS-PATH, ACTIVE-PATH because they are unintelligible.
Instead only complete the connection name.
See #6379
[ci skip]
2019-12-12 11:53:37 +01:00
Shun Sakai
11d529557a
Update nmcli
completions
2019-12-12 11:53:37 +01:00
Johannes Altmanninger
d22c7ab993
enhance sudo completions
...
Flag e/edit does not take an argument, so `sudo -e a` TAB would complete
subcommands.
[ci skip]
2019-12-12 09:08:42 +01:00
Fabian Homborg
15c6d8fd4c
completions/zstd: Remove code to figure out number of CPUs
...
This purported to need python > 3.4, but used anypython.
Plus it's not super useful anyway since it can easily be told to
use *all* cpus, so there's no need to set it to the precise number.
See #6400 .
[ci skip]
2019-12-10 20:20:21 +01:00
Akatsuki
efb72f1f91
Revert "Move __fish_systemd_machines into machinectl completion script"
...
This reverts commit 9c15b5b7a4
.
2019-12-09 21:07:21 +01:00
Shun Sakai
b862c63905
Fix an issue that cannot run on non-Linux systems
...
If Python 3.4 or later installed on the system, complement to the
number of physical cores. In addition, even if the number of physical
cores cannot be obtained, it was fixed to run properly.
2019-12-07 12:21:51 +01:00
Shun Sakai
8d56609734
Add zstd completions
...
Squashed commit of the following:
commit 55c8e73faff2418161404f012440acced09580e4
Author: Shun Sakai <sorairolake@protonmail.ch>
Date: Fri Nov 29 05:25:02 2019 +0900
Implementation of `zstdless` completions
commit e81ae6f83fb9f23bdd6038fbf29ea594da098c2c
Author: Shun Sakai <sorairolake@protonmail.ch>
Date: Fri Nov 29 05:20:33 2019 +0900
Implementation of `zstdgrep` completions
commit 2ade3a9c01bdc5b024f785c369fcb6c3e007cb19
Author: Shun Sakai <sorairolake@protonmail.ch>
Date: Fri Nov 29 04:50:42 2019 +0900
Implementation of `pzstd` completions
commit 0b9cb86a6936f3de18db7b2c012da6efec89c8e8
Author: Shun Sakai <sorairolake@protonmail.ch>
Date: Fri Nov 29 04:39:52 2019 +0900
Implementation of `zstdcat` completions
commit e4a4101d18a82fb06ee451560d079b9b81af5f3e
Author: Shun Sakai <sorairolake@protonmail.ch>
Date: Fri Nov 29 04:25:05 2019 +0900
Implementation of `unzstd` completions
commit 88ad0af46d486a92ab3989c55abb3ff477e5a372
Author: Shun Sakai <sorairolake@protonmail.ch>
Date: Fri Nov 29 04:18:38 2019 +0900
Implementation of `zstdmt` completions
commit 13f2bf7951501031c61a5c0f143b8a29eaa9437e
Author: Shun Sakai <sorairolake@protonmail.ch>
Date: Fri Nov 29 01:13:52 2019 +0900
Implementation of `zstd` completions
2019-12-07 12:21:51 +01:00
Shun Sakai
bc2634eaaf
Add lz4 completions
...
Squashed commit of the following:
commit 08ea083bf87a613675789937d7f6740daa26fc61
Author: Shun Sakai <sorairolake@protonmail.ch>
Date: Thu Nov 28 23:51:35 2019 +0900
Implementation of `lz4cat` completions
commit 027adedfeb7bb65ffd46e44b4266df3d98368326
Author: Shun Sakai <sorairolake@protonmail.ch>
Date: Thu Nov 28 23:36:12 2019 +0900
Implementation of `unlz4` completions
commit 522925450a8076d4a0d3377cd9233abc643bbbf7
Author: Shun Sakai <sorairolake@protonmail.ch>
Date: Thu Nov 28 23:19:45 2019 +0900
Implementation of `lz4c` completions
commit 298ce5e05e3be2cac774063ed2ee8289ba53cf24
Author: Shun Sakai <sorairolake@protonmail.ch>
Date: Thu Nov 28 23:02:52 2019 +0900
Implementation of `lz4` completions
2019-12-07 12:21:51 +01:00
Fabian Homborg
9d14594f7c
Merge pull request #6390 from ammgws/debian
...
Move __fish_print_debian_services into invoke-rc.d completion script
2019-12-07 12:16:29 +01:00
Jason
3129b3c5ef
Move __fish_print_debian_services into invoke-rc.d completion script
2019-12-05 05:26:26 +09:00
Jason
a361cde1df
Move __fish_complete_svn_diff into the completion script
2019-12-04 20:53:58 +01:00
Jason
965b142acd
Move __fish_print_zfs_* into zfs completion script
2019-12-04 20:53:01 +01:00
Jason
69dccce937
Move __fish_print_function_prototypes into valgrind completion script
2019-12-04 20:51:55 +01:00
Jason
013001c283
Move __fish_print_lsblk_columns into lsblk completion script
2019-12-04 20:51:37 +01:00
Jason
5107de395d
Move __fish_print_xdg_desktop_file_ids into xdg-mime completion script
2019-12-04 20:51:21 +01:00
Jason
9c15b5b7a4
Move __fish_systemd_machines into machinectl completion script
2019-12-04 20:51:09 +01:00
Jason
b658b421ad
Move __fish_ports_dirs into ports completion script
2019-12-04 20:50:55 +01:00
Jason
40832f897c
Move __fish_portage_print_repository_names into emaint completion script
2019-12-04 20:50:28 +01:00
Jason
69255d5641
Move __fish_parse_configure into configure completion script
2019-12-04 20:50:19 +01:00
Jason
b3f8a93e02
Move __fish_print_abook_emails into mutt completion script
2019-12-04 20:50:01 +01:00
Shun Sakai
62d435f25b
Add completions of --committer-date-is-author-date
and --ignore-date
for git-rebase
2019-12-02 15:23:56 +01:00
Shun Sakai
b4f0a67ef2
Add git-count-objects
and git-gc
completions
2019-12-02 15:23:56 +01:00
Jason
2fd1e4ab75
Move __fish_complete_unrar into the completion script
2019-12-01 17:35:35 +01:00
Jason
fa373c102c
Move __fish_complete_wvdial_peers into the completion script
2019-12-01 17:34:46 +01:00
Jason
6486349725
Move __fish_complete_tar into the completion script
2019-12-01 17:34:27 +01:00
Jason
6245d76e57
Move __fish_complete_lsusb into the completion script
2019-12-01 17:33:07 +01:00
Jason
b358cee5fe
Move __fish_complete_setxkbmap into the completion script
2019-11-30 12:12:18 +01:00
ridiculousfish
39e5ffde93
Rename __fish_complete_file_url to __fish_evince_complete_file_url
...
As the function is now private to evince, use a less generic name.
2019-11-30 00:23:54 -08:00
mk2
c36d802dda
Move __fish_complete_file_url to evince.fish
2019-11-30 00:21:47 -08:00
mk2
439470b048
Move __fish_complete_ant_targets to ant.fish
2019-11-27 16:32:37 +01:00
Jason
3cf6ebc0e1
Amend typos and grammar errors
2019-11-25 13:07:15 +01:00
Akatsuki
cb72a33e0c
Fix some issues in __fish_complete_subcommand.fish
...
Fix 'string length: Unknown option': add `--` before $subcommand
Fix count $subcommand always = 1 with `sudo` and `doas`:
give argv as array to __fish_complete_subcommand
[ci skip]
2019-11-17 00:39:06 +01:00
Fabian Homborg
330f1701d7
Restyle
...
This mostly fixes some wrong indents or replaces some stray tab indents.
I excluded alignment on purpose, because we have a whole bunch of code
that goes like
```fish
complete -c foo -n 'some-condition' -l someoption
complete -c foo -n 'some-longer-condition' -l someotheroption
```
and changing it seems like a larger thing and would include more
thrashing.
See #3622 .
2019-11-16 14:57:59 +01:00
Sergei Morozov
91bda38d57
Added the missing argument for -c|--configuration option of PHPUnit
2019-11-13 13:24:41 -08:00
Sergei Morozov
9251601e0b
Added completion of the argument for the composer show
command
2019-11-13 13:23:55 -08:00
Sam Yu
4de9a3e102
Update zypper completion
...
- fix repo completion
- add completion for locale management
2019-11-13 13:20:38 -08:00
Johannes Altmanninger
e37bb0721d
completions/git: fix typo in deleted-staged files
...
Fixes #6315
2019-11-12 21:40:13 +01:00
Z. Grace Moreau
35bc811310
add completions for plutil
2019-11-10 22:19:15 +01:00
Sam Yu
ffb4f7a4ff
Update zypper completion
...
- update options to the newest version
- re-format and align
2019-11-10 22:17:00 +01:00
Clément Martinez
82227b8854
Add apt install --reinstall
completion
2019-11-09 22:40:20 +08:00
Collin Styles
422e2dcbdd
Add completions for rustup doc
...
[As of rustup 1.20][1], users can give a topic as an argument to `rustup
doc` to open the relevant documentation page in a browser. This commit
adds completions for these topics to assist users in finding what
they're looking for.
[1]: https://blog.rust-lang.org/2019/10/15/Rustup-1.20.0.html#improvements-to-rustup-doc
2019-11-07 18:48:19 +01:00
Johannes Altmanninger
08eac28bd8
Add individual documentation pages for string's subcommands
...
This adds string-x.rst for each subcommand x of string. The main page
(string.rst) is not changed, except that examples are shown directly after
each subcommand. The subcommand sections in string.rst are created by
textual inclusion of parts of the string-x.rst files.
Subcommand man pages can be viewed with either of:
```
man string collect
man string-collect
string collect <press F1 or Alt-h>
string collect -h
```
While `string -h ...` still prints the full help.
Closes #5968
2019-11-07 09:54:25 +01:00
Christopher Rogers
b089a579bd
Fix typo in git clean completion
2019-11-07 15:32:43 +09:00
Johannes Altmanninger
04c912e0e3
Fix typo, closes #6289
...
[ci skip]
2019-11-05 13:32:41 +01:00
Johannes Altmanninger
4f1fa9513c
Make most subcommand completions take external commands only
...
Also fix ssh completions which were broken by
277fca9c6a
.
2019-11-05 11:47:05 +01:00
Johannes Altmanninger
36693e4391
Complete empty subcomands consistently
...
If the command is empty, try to complete starting from the empty command
instead of the whole commandline.
2019-11-05 09:05:46 +01:00
Johannes Altmanninger
afb56a007d
Fix completions for env
...
Fixes #5306
2019-11-05 08:44:04 +01:00
Johannes Altmanninger
6fb7f9b6b8
Fix completion for builtins (with subcommands)
...
Presently the completion engine ignores builtins that are part of the
fish syntax. This can be a problem when completing a string that was
based on the output of `commandline -p`. This changes completions to
treat these builtins like any other command.
This also disables generic (filename) completion inside comments and
after strings that do not tokenize.
Additionally, comments are stripped off the output of `commandline -p`.
Fixes #5415
Fixes #2705
2019-11-04 16:44:51 +01:00
Johannes Altmanninger
dfc1d1931d
Add /usr/local/sbin to PATH for sudo completions
...
[ci skip]
2019-11-01 17:20:09 +01:00
Johannes Altmanninger
e0d4a1d78b
Fix sudo/doas completions not using /sbin
...
Fixes #6259
[ci skip]
2019-11-01 21:24:03 +08:00
Roman Beranek
c2dbe36e4a
scp completions: remove inappropriate opt '-q' from string match -eq
cmd
2019-10-31 18:32:28 +01:00
Johannes Altmanninger
20314c5b3d
completions/git: improve diff completions
...
Offer commit ranges only if left of a --.
Suggest added files in git diff --cached (or the --staged synonym)
Fixes #6262
2019-10-30 12:09:38 +01:00
Johannes Altmanninger
f4b4ff63b9
completions/git: honor global git arguments like --git-dir
...
Fixes #6219
2019-10-29 19:15:35 +01:00
Johannes Altmanninger
4095247deb
completions/git: some improvements
2019-10-29 19:13:31 +01:00
Amy Grace
ba56a2ec0e
Add completions for irb
( #6260 )
2019-10-29 19:11:25 +01:00
LawAbidingCactus
21a6a192ae
refactor gpg.fish completions
...
refactor gpg completions into functions
comment changes; improve gpg version detection
[ci skip]
2019-10-29 19:07:35 +01:00
Akatsuki
446735af07
completions/btrfs.fish: Format options list
...
Format the list of completion per command
Easier to read and edit at next time if need
2019-10-27 16:47:48 -07:00
Akatsuki
b43f80e2d9
completions/btrfs.fish: Add detailed options completions
...
Add completion for options in option groups
Remove myself author information
2019-10-27 16:47:48 -07:00
Clément Martinez
756e9826bc
Improve gpg
completions
2019-10-27 13:22:24 -07:00
Johannes Altmanninger
56b4763c67
Fix file completion for builtins "set" and "test -f" and others
2019-10-27 08:07:54 +01:00
Johannes Altmanninger
40c553db29
Fix completion scripts for builtins "exec" and "not"
2019-10-27 06:58:20 +01:00
Johannes Altmanninger
4a1edbd3cb
make completions for ninja aware of the build directory passed by -C
2019-10-27 06:58:20 +01:00
Jan Tojnar
9d1ccf8110
Fix composer completions on Python 3
...
Some distros (Arch) use python command for Python 3, so we need to update the scripts to work with it. We cannot just switch to python3 command because MacOS does not ship it.
2019-10-26 18:19:44 +02:00
Akatsuki
0ef6a136e8
completions: add btrfs ( #6243 )
...
* completions: add btrfs
Completion definitions for the btrfs-progs.
* completes/btrfs.fish: using `not set -q argv[1]` instead of `test -z $argv`
* CHANGELOG: add btrfs completions
2019-10-26 18:15:42 +02:00
Shun Sakai
3e28ab454f
Rename long option of bzip2
...
From `--bzip` to `--bzip2`
2019-10-26 18:13:54 +02:00
Shun Sakai
7ce38a1ee6
Add supported compression algo to completions for tar
...
- lzip (--lzip)
- LZMA (--lzma)
- lzop (--lzop)
- Zstandard (--zstd)
2019-10-26 18:13:54 +02:00
Z. Grace Moreau
4be30a872a
add completion for nethack
2019-10-26 18:13:15 +02:00
Akatsuki
f8ead077bf
completions/pacman.fish: add ignore
& ignoregroups
completions
...
`ignore` -> `$listall`
`ignoregroups` -> `$listgroups`
2019-10-26 18:11:29 +02:00
Akatsuki
0ec954a8c2
completions/pacman.fish: -F add package completions
...
`-F` add package completions, let `-Fl` work fine
Another changes:
Add missing quotes, let format neat
2019-10-26 18:11:29 +02:00
Akatsuki
080f367635
completions/pacman.fish: refine completions
...
Refine completions with pacman 5.2.0 man pages
2019-10-26 18:11:29 +02:00
Akatsuki
2b9dd4595c
completes/pacman.fish: replace --force
to --overwrite
2019-10-26 18:11:29 +02:00
Akatsuki
4cdc5e4020
completions/pacman.fish: Update for pacman 5.2
...
pacman 5.2 has remove File Options `-s --search` and `-o --owns`.
Ref: [pacman: rework the UI of -F](https://git.archlinux.org/pacman.git/commit/?id=ff1ae94c102cab487444bcdb0c76ee489c11dfe8 )
2019-10-26 18:11:29 +02:00
239
6a9ab0599f
completion: zpaq archiver ( #6245 )
2019-10-25 15:22:09 +02:00
Ryan Adolf
947e46b9cc
Add completions for iw
2019-10-24 11:03:54 +02:00
Z. Grace Moreau
b1fb99b578
add completions for cygpath
and cygstart
2019-10-23 19:41:53 +02:00
Collin Styles
ffb551fc06
Add --cut-at-cursor option to commandline -op
calls in git completions
...
We used to just check for the presence of "--" on the command line to
make judgements about which completions to suggest. Now, even if "--" is
present, we can still make different suggestions by taking the cursor's
position into account.
2019-10-19 19:28:20 +02:00
Collin Styles
12a5dd219f
Add completions for git-commit
2019-10-19 19:28:17 +02:00
Collin Styles
cc84dc7510
Add completions for git rev-parse
2019-10-19 19:26:12 +02:00
Collin Styles
486bc71cf8
Add completions for git reflog
2019-10-19 19:26:12 +02:00
Collin Styles
9384801e3c
Add completions for push
subcommand to git stash
2019-10-19 19:26:12 +02:00
Collin Styles
63e840995e
git-reset: Don't suggest branch completions if -- is present
...
If "--" is present in the command line, it's usually safe to assume that
the user is going to want to complete a file tracked by git so let's
only suggest branches if "--" isn't present.
2019-10-19 19:26:12 +02:00