mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
aa65856ee0
Before: * hand write arg parse * only accepts one suffix After: * use `arg_parse` to parse args * accepts multi suffixes Closes #9611.
5 lines
278 B
Fish
5 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"
|