fish-shell/share/completions/zcat.fish
lengyijun aa65856ee0 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.
2023-03-12 22:07:44 -05:00

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"