mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 21:43:55 +08:00
22cb03c236
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
)
6 lines
278 B
Fish
6 lines
278 B
Fish
complete -c zcat -k -x -a "(__fish_complete_suffix .gz .tgz)"
|
|
complete -c zcat -s f -l force -d Overwrite
|
|
complete -c zcat -s h -l help -d "Display help and exit"
|
|
complete -c zcat -s L -l license -d "Print license"
|
|
complete -c zcat -s V -l version -d "Display version and exit"
|