Add -k completion for gzip and gunzip

This commit is contained in:
SeekingBlues 2022-05-30 19:55:46 -05:00 committed by Peter Ammon
parent c0c108c870
commit 025acfe45a
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ complete -c gunzip -k -x -a "(
"
complete -c gunzip -s f -l force -d Overwrite
complete -c gunzip -s h -l help -d "Display help and exit"
complete -c gunzip -s k -l keep -d "Keep input files"
complete -c gunzip -s l -l list -d "List compression information"
complete -c gunzip -s L -l license -d "Print license"
complete -c gunzip -s n -l no-name -d "Do not save/restore filename"

View File

@ -8,6 +8,7 @@ complete -c gzip -s d -l decompress -k -x -a "
complete -c gzip -s f -l force -d Overwrite
complete -c gzip -s h -l help -d "Display help and exit"
complete -c gzip -s k -l keep -d "Keep input files"
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"