about summary refs log tree commit diff
path: root/Completion/User/_bzip2
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2000-05-05 10:08:25 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2000-05-05 10:08:25 +0000
commit93fb9aaec51f597a9a19b06764f005952e447e54 (patch)
treeb8fc3a394c943f8dcb77b7f8f12c3e80aedd79f7 /Completion/User/_bzip2
parent27f895df41af61a8ba678c390a5ef405109e8187 (diff)
downloadzsh-93fb9aaec51f597a9a19b06764f005952e447e54.tar.gz
zsh-93fb9aaec51f597a9a19b06764f005952e447e54.tar.xz
zsh-93fb9aaec51f597a9a19b06764f005952e447e54.zip
Use one function for compression/decompression programs and new lzop completion
Diffstat (limited to 'Completion/User/_bzip2')
-rw-r--r--Completion/User/_bzip26
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/User/_bzip2 b/Completion/User/_bzip2
index 545aa5fcc..f0fd23f90 100644
--- a/Completion/User/_bzip2
+++ b/Completion/User/_bzip2
@@ -23,8 +23,8 @@ case "${words[1]:t}" in
     '(-c)--stdout[write on standard output]' \
     '(--quiet)-q[suppress all warnings]' \
     '(-q)--quiet[suppress all warnings]' \
-    '(--verbose)*-v[verbose mode]' \
-    '(-v)*--verbose[verbose mode]' \
+    '*-v[verbose mode]' \
+    '*--verbose[verbose mode]' \
     '(--license)-L[display software license]' \
     '(-L)--license[display software license]' \
     '(--version)-V[display version number]' \
@@ -45,7 +45,7 @@ esac
 
 if [[ "$state" = files ]]; then
   (( $+opt_args[-z] || $+opt_args[--compress] )) && decompress=no
-  (( $+opt_args[-d] || $+opt_args[--decompress] || $+opt_args[-t] || \
+  (( $+opt_args[-d] || $+opt_args[--decompress] || $+opt_args[-t] ||
       $+opt_args[--test] )) && unset decompress
   if [[ -z "$decompress" ]] ; then
     _description files expl 'compressed file'