fish-shell/share/completions/gunzip.fish
axel c2f6c6c1d2 Do gettext translation of descriptions just-in-time internally in fish
darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.gz
2006-03-02 02:53:47 +10:00

25 lines
1.1 KiB
Fish

complete -c gunzip -s c -l stdout -d (N_ "Compress to stdout")
complete -c gunzip -x -a "(
__fish_complete_suffix (commandline -ct) .gz 'Compressed file'
__fish_complete_suffix (commandline -ct) .tgz 'Compressed archive'
)
"
complete -c gunzip -s f -l force -d (N_ "Overwrite")
complete -c gunzip -s h -l help -d (N_ "Display help and exit")
complete -c gunzip -s l -l list -d (N_ "List compression information")
complete -c gunzip -s L -l license -d (N_ "Print license")
complete -c gunzip -s n -l no-name -d (N_ "Do not save/restore filename")
complete -c gunzip -s N -l name -d (N_ "Save/restore filename")
complete -c gunzip -s q -l quiet -d (N_ "Supress warnings")
complete -c gunzip -s r -l recursive -d (N_ "Recurse directories")
complete -c gunzip -s S -l suffix -r -d (N_ "Suffix")
complete -c gunzip -s t -l test -d (N_ "Check integrity")
complete -c gunzip -s v -l verbose -d (N_ "Display compression ratios")
complete -c gunzip -s V -l version -d (N_ "Display version and exit")
complete -c gunzip -x -a "(
__fish_complete_suffix (commandline -ct) .gz 'Compressed file'
__fish_complete_suffix (commandline -ct) .tgz 'Compressed archive'
)
"