fish-shell/init/completions/bunzip2.fish

16 lines
700 B
Fish
Raw Normal View History

complete -c bunzip2 -x -a "(
__fish_complete_suffix (commandline -ct) .bz 'Compressed file'
__fish_complete_suffix (commandline -ct) .bz2 'Compressed file'
__fish_complete_suffix (commandline -ct) .tbz 'Compressed archive'
__fish_complete_suffix (commandline -ct) .tbz2 'Compressed archive'
)
"
complete -c bunzip2 -s c -l stdout -d "Decompress to stdout"
complete -c bunzip2 -s f -l force -d "Overwrite"
complete -c bunzip2 -s k -l keep -d "Do not overwrite"
complete -c bunzip2 -s s -l small -d "Reduce memory usage"
complete -c bunzip2 -s v -l verbose -d "Print compression ratios"
complete -c bunzip2 -s L -l license -d "Print license"
complete -c bunzip2 -s V -l version -d "Print version"