fish-shell/share/completions/gzip.fish
axel dcad2ef17b Switch various completions to the simpler format for __fish_complete_suffix
darcs-hash:20070130153435-ac50b-abe42f3f464cb96db062c83084d97ef377a72e80.gz
2007-01-31 01:34:35 +10:00

24 lines
1.1 KiB
Fish

complete -c gzip -s c -l stdout --description "Compress to stdout"
complete -c gzip -s d -l decompress -x -a "
(
__fish_complete_suffix .gz
__fish_complete_suffix .tgz
)
"
complete -c gzip -s f -l force --description "Overwrite"
complete -c gzip -s h -l help --description "Display help and exit"
complete -c gzip -s l -l list --description "List compression information"
complete -c gzip -s L -l license --description "Print license"
complete -c gzip -s n -l no-name --description "Do not save/restore filename"
complete -c gzip -s N -l name --description "Save/restore filename"
complete -c gzip -s q -l quiet --description "Supress warnings"
complete -c gzip -s r -l recursive --description "Recurse directories"
complete -c gzip -s S -l suffix -r --description "Suffix"
complete -c gzip -s t -l test --description "Check integrity"
complete -c gzip -s v -l verbose --description "Display compression ratios"
complete -c gzip -s V -l version --description "Display version and exit"
complete -c gzip -s 1 -l fast --description "Use fast setting"
complete -c gzip -s 9 -l best --description "Use high compression setting"