mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-24 18:53:51 +08:00
aa65856ee0
Before: * hand write arg parse * only accepts one suffix After: * use `arg_parse` to parse args * accepts multi suffixes Closes #9611.
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"
|