fish-shell/share/completions/zcat.fish
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

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"