mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-01 07:38:46 +00:00
24 lines
1,020 B
Fish
24 lines
1,020 B
Fish
|
complete -c gzip -s c -l stdout -d "Compress to stdout"
|
||
|
complete -c gzip -s d -l decompress -x -a "
|
||
|
(
|
||
|
__fish_complete_suffix (commandline -ct) .gz 'Compressed file'
|
||
|
__fish_complete_suffix (commandline -ct) .tgz 'Compressed archive'
|
||
|
)
|
||
|
"
|
||
|
|
||
|
complete -c gzip -s f -l force -d "Overwrite"
|
||
|
complete -c gzip -s h -l help -d "Display help"
|
||
|
complete -c gzip -s l -l list -d "List compression information"
|
||
|
complete -c gzip -s L -l license -d "Print license"
|
||
|
complete -c gzip -s n -l no-name -d "Do not save/restore filename"
|
||
|
complete -c gzip -s N -l name -d "Save/restore filename"
|
||
|
complete -c gzip -s q -l quiet -d "Supress warnings"
|
||
|
complete -c gzip -s r -l recursive -d "Recurse directories"
|
||
|
complete -c gzip -s S -l suffix -r -d "Suffix"
|
||
|
complete -c gzip -s t -l test -d "Check integrity"
|
||
|
complete -c gzip -s v -l verbose -d "Display compression ratios"
|
||
|
complete -c gzip -s V -l version -d "Display version"
|
||
|
complete -c gzip -s 1 -l fast -d "Use fast setting"
|
||
|
complete -c gzip -s 9 -l best -d "Use high compression setting"
|
||
|
|