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
Collin Styles
3de3a34e79
Add completion for git log --date=human
2019-10-19 19:26:12 +02:00
Collin Styles
bd71308788
Add git completions for range-diff
2019-10-19 19:26:12 +02:00
Johannes Altmanninger
00fc1306d0
completions/git: allow arbitrary refs in git push remote src:dest
...
When there is already a "src:", we assume that it is a valid ref and
just complete "dst". This allows completion of dest if src is e.g. a
commit SHA (completing all possible refs would probably impact
performance).
See issue #3035 .
2019-10-19 16:10:25 +02:00
艾雨寒 ArielAxionL
9ea8aa072f
add a completion for zstd support
...
An update has been released by Arch Linux official to support the packages for zstd compression.
> https://www.archlinux.org/news/required-update-to-recent-libarchive/
2019-10-19 12:55:30 +02:00
Johannes Altmanninger
ed8b0c8c0c
Add completions for the kakoune editor
...
[ci skip]
2019-10-17 21:50:27 +02:00
Fabian Homborg
9c4edb68ff
Add g++ completions that wrap gcc
...
Should be alright for a first pass.
Fixes #6217 .
[ci skip]
2019-10-17 17:45:47 +02:00
Mahmoud Al-Qudsi
b29fd88cad
[rustup] Add completions for rustup show
and rustup profile
...
[ci skip]
2019-10-16 19:05:53 -05:00
Mahmoud Al-Qudsi
9a99836c74
[rustup] Fix string replace
coalesce of multiple $argv
...
[ci skip]
2019-10-16 18:57:03 -05:00
Johannes Altmanninger
203a2e7af4
completions/grep: specify some required parameters
2019-10-16 11:23:53 +02:00
Z. Grace Moreau
ff2baf2591
add completions for Visual Studio Code CLI tool
2019-10-15 13:05:08 -07:00
Andy
39671e6b19
Fix ranger options: choosefile(s), choosedir
...
Source <ee344c896e/ranger/core/main.py (L293-L303)
>
2019-10-13 12:14:08 -07:00
Sergei Morozov
478f54c035
Added PHPUnit shell completion
2019-10-13 12:13:34 -07:00
Clément Martinez
1f35b146de
Add grub-mkrescue completions
2019-10-10 18:16:32 +02:00
aca
8c5aca599f
completions/fzf: completion for fzf
2019-10-10 18:16:00 +02:00
matoruru
422441e903
Add completions/sfdx.fish ( #6149 )
...
* Add completions/sfdx.fish
* completions/sfdx.fish: add completion for options
* completions/sfdx.fish: add a completion for --manifest(-x) option which need package.json
* completions/sfdx.fish: replace redundant function with already existing one
2019-10-07 17:32:56 +02:00
ridiculousfish
e2952f230b
Revert #6139
...
Revert "gut gpg.fish/gpg1.fish/gpg2.fish; migrate functionality to __fish_complete_gpg.fish"
This reverts commit d558218d03
.
Revert "break version-specific completions out into independent function;"
This reverts commit 9160e77b01
.
Revert "split gpg2- and gpg1-specific completions to conditional block"
This reverts commit a069b95f63
.
2019-10-06 12:35:07 -07:00
LawAbidingCactus
d558218d03
gut gpg.fish/gpg1.fish/gpg2.fish; migrate functionality to __fish_complete_gpg.fish
2019-10-06 12:31:42 -07:00
LawAbidingCactus
9160e77b01
break version-specific completions out into independent function;
...
document changes
2019-10-06 12:31:42 -07:00
LawAbidingCactus
a069b95f63
split gpg2- and gpg1-specific completions to conditional block
...
This allows gpg.fish to account for both gpg versions.
2019-10-06 12:31:31 -07:00
madblobfish
87dee7ad1c
improved ansible-vault completions
2019-10-06 15:13:06 +02:00
Sergei Morozov
1602902e12
Improved shell completion for Composer
...
1. Added missing commands and arguments.
2. Removed alternative spelling of some commands (e.g. clear-cache|clearcache) since a choice of spelling is not really useful for completion.
3. Fixed a typo: np-ansi → no-ansi.
4. Removed redundant backslash in front of $COMPOSER_HOME.
The updated completion was initially generated using the bamarni/symfony-console-autocomplete package and then incorporated into the existing code.
2019-10-05 12:54:20 -07:00
Sergei Morozov
2fa3c6298b
Unmarked the colo(u)r options of the git command as requiring an argument
...
According to man, the argument is optional:
$ man git
--color[=WHEN], --colour[=WHEN]
2019-10-02 16:21:41 +02:00
Collin Styles
dae4faa512
Fix completions for abbr --erase
2019-09-28 00:19:39 +02:00
aca
4747bdd7e7
completions/go: add/improve completion
...
- completion for go mod/generate
- better description for go help
2019-09-26 21:59:41 +02:00
Johannes Altmanninger
8063d6d0b8
complete builtin: suggest commands for options --comand and --wraps
2019-09-25 17:00:48 +08:00
Johannes Altmanninger
2dbbaa6a97
Honor required parameters in completions for builtins
...
This adds the -r (or -x) flag to completions of builtins' options that have a required_argument.
2019-09-25 17:00:48 +08:00
Jakob Landbo
ed0a7f5cdb
completions/git: Added autostash option to rebase
2019-09-24 21:59:26 +08:00
Aaron Gyes
eef62b8848
Correct wc completions for macOS, BSDs.
2019-09-22 14:02:22 -07:00