mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 03:32:27 +08:00
34e27ff4c2
darcs-hash:20070116011828-ac50b-fb923dc877869ded4d506bbe0bc5364eea44092f.gz
20 lines
1.1 KiB
Fish
20 lines
1.1 KiB
Fish
complete -c bzip2 -s c -l stdout --description "Compress to stdout"
|
|
complete -c bzip2 -s d -l decompress -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 bzip2 -s z -l compress --description "Compress file"
|
|
complete -c bzip2 -s t -l test --description "Check integrity"
|
|
complete -c bzip2 -s f -l force --description "Overwrite"
|
|
complete -c bzip2 -s k -l keep --description "Do not overwrite"
|
|
complete -c bzip2 -s s -l small --description "Reduce memory usage"
|
|
complete -c bzip2 -s q -l quiet --description "Supress errors"
|
|
complete -c bzip2 -s v -l verbose --description "Print compression ratios"
|
|
complete -c bzip2 -s L -l license --description "Print license"
|
|
complete -c bzip2 -s V -l version --description "Display version and exit"
|
|
complete -c bzip2 -s 1 -l fast --description "Small block size"
|
|
complete -c bzip2 -s 9 -l best --description "Large block size"
|