summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-12-06 16:52:28 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-12-06 16:52:28 +0000
commit4f5132054fdfad0cdbbce0037392f632503ccb92 (patch)
treeadec794171c2758a16cb9c2cba408810084a5ccc
parent6b1f0112402e9aba5a451d6e91f430896fda1559 (diff)
downloadzsh-4f5132054fdfad0cdbbce0037392f632503ccb92.tar.gz
zsh-4f5132054fdfad0cdbbce0037392f632503ccb92.tar.xz
zsh-4f5132054fdfad0cdbbce0037392f632503ccb92.zip
users/4519: complete files in all argument positions for zip (bug fix)
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_zip2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c1424203f..691b327a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-06  Oliver Kiddle  <opk@zsh.org>
+
+	* users/4519: Completion/Unix/Command/_zip: complete files
+	in all argument positions for zip (bug fix)
+
 2001-11-29  Clint Adams  <clint@zsh.org>
 
 	* 16293: Completion/Unix/Command/.distfiles,
diff --git a/Completion/Unix/Command/_zip b/Completion/Unix/Command/_zip
index 75592f6d3..7d4509e6f 100644
--- a/Completion/Unix/Command/_zip
+++ b/Completion/Unix/Command/_zip
@@ -51,7 +51,7 @@ case $service in
       '-x[exclude the following names]' \
       '-i[include only the following names]' \
       "(-f -d -R -q -c -b -@ -F -FF -A -T -y -e -h -u -m -g -j -l -ll -L -v -z -t -tt -o -D -J -X -n -0 -1 -2 -3 -4 -5 -6 -7 -8 -9):zip file:_files -g '(#i)*.(zip|[jw]ar)'" \
-      ':file:->files' && return 0
+      '*:file:->files' && return 0
   ;;
   unzip)
     _arguments -C -s \