diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2001-12-17 15:47:24 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2001-12-17 15:47:24 +0000 |
commit | 13cf602435a15864bc1e6db9a1165566c7512aae (patch) | |
tree | ab5c48d7e5b4a5e6c8b52ea725ea63deaab9835c | |
parent | a476e5b7a3c0bc52e20656a729efc65f4ba0f352 (diff) | |
download | zsh-13cf602435a15864bc1e6db9a1165566c7512aae.tar.gz zsh-13cf602435a15864bc1e6db9a1165566c7512aae.tar.xz zsh-13cf602435a15864bc1e6db9a1165566c7512aae.zip |
users/4519: complete files in all argument positions for zip (bug fix)
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Completion/Unix/Command/_zip | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 4031ac49b..1716d4040 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,7 +14,7 @@ 2001-12-11 Clint Adams <clint@zsh.org> - * 16326: Completion/Debian/Command/_dpkg: glob for udebs + * 16327: Completion/Debian/Command/_dpkg: glob for udebs as well as debs. * 16326: Completion/Unix/Command/_webbrowser, @@ -27,6 +27,11 @@ Completion/Unix/Command/_spamassassin: completion for spamassassin. +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 \ |