about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-09-26 10:30:00 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-09-26 10:30:00 +0000
commit56fb02f1d33c9ee51b3bc25e017dcb59d3e90aab (patch)
tree7ba0c7c2fd1e8fca895a56f3fc9ba568d19107e0 /Completion/Unix/Command
parenta1d727e5dcfc209a1bdc798f293da21ecd68062d (diff)
downloadzsh-56fb02f1d33c9ee51b3bc25e017dcb59d3e90aab.tar.gz
zsh-56fb02f1d33c9ee51b3bc25e017dcb59d3e90aab.tar.xz
zsh-56fb02f1d33c9ee51b3bc25e017dcb59d3e90aab.zip
Akinori Musha: 17719: add support for the pkg_create command
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_bzip24
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_bzip2 b/Completion/Unix/Command/_bzip2
index 1c6a93ac3..cbce91ad6 100644
--- a/Completion/Unix/Command/_bzip2
+++ b/Completion/Unix/Command/_bzip2
@@ -49,10 +49,10 @@ if [[ "$state" = files ]]; then
       $+opt_args[--test] )) && unset decompress
   if [[ -z "$decompress" ]]; then
     _description files expl 'compressed file'
-    _files "$expl[@]" -g '*.bz2' && return 0
+    _files "$expl[@]" -g '*.(bz2|tbz|tbz2)' && return 0
   else
     _description files expl 'file to compress'
-    _files "$expl[@]" -g '*~*.bz2' && return 0
+    _files "$expl[@]" -g '*~*.(bz2|tbz|tbz2)' && return 0
   fi
 fi