lengyijun
22cb03c236
Fixes #8924 via __fish_complete_suffix
overhaul
...
Before:
* hand write arg parse
* only accepts one suffix
After:
* use `arg_parse` to parse args
* accepts multi suffixes
Closes #9611 .
(cherry picked from commit aa65856ee0
)
2023-03-12 22:12:11 -05:00
Johannes Altmanninger
4dae106911
Use complete --keep-order with __fish_complete_suffix to prioritize files with matching suffixes
...
Part of #7040
2020-12-23 19:14:10 +01:00
Fabian Homborg
9367d4ff71
Reindent functions to remove useless quotes
...
This does not include checks/function.fish because that currently
includes a "; end" in a message that indent would remove, breaking the test.
2020-03-09 19:46:43 +01:00
Aaron Gyes
68527ff20c
completions: --description -> -d
...
This ends up saving a surprising number of bytes.
2017-10-11 10:17:35 -07:00
Clément Martinez
ed7bf83b56
Fix xz file completion
...
The previous completion gave every files.
Here, we only show files with the .xz, .txz, .lzma or .tlz extension.
2016-09-16 19:22:59 +02:00
Clément Martinez
970d895aca
Add xz completions
2016-06-08 13:40:27 +02:00