summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_zip
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-08-24 19:19:14 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-08-24 19:19:14 +0000
commit043c302261dfee52e54e9a6c42b4ebcc2f7ccd33 (patch)
treedcd922959775f8c5701302c68e4425c285c14465 /Completion/Unix/Command/_zip
parentbc5567c859a074e2559b3c94c08ca1003b543da9 (diff)
downloadzsh-043c302261dfee52e54e9a6c42b4ebcc2f7ccd33.tar.gz
zsh-043c302261dfee52e54e9a6c42b4ebcc2f7ccd33.zip
17577: pass classpath as an option to _java_class
Diffstat (limited to 'Completion/Unix/Command/_zip')
-rw-r--r--Completion/Unix/Command/_zip8
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_zip b/Completion/Unix/Command/_zip
index 6f83b748f..29c4f85d4 100644
--- a/Completion/Unix/Command/_zip
+++ b/Completion/Unix/Command/_zip
@@ -50,7 +50,7 @@ case $service in
'(-0 -1 -2 -3 -4 -5 -6 -7 -8 )-9[compress better]' \
'-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)'" \
+ "(-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|[ejw]ar)'" \
'*:file:->files' && return 0
;;
unzip)
@@ -75,7 +75,7 @@ case $service in
'-M[page output]' \
'-x[exclude the following names]' \
'-Z[zipinfo mode]:zipinfomode:->zipinfo' \
- "(-p -f -u -l -t -z -n -o -j -C -X -q -qq -a -aa -v -L -M)1:zip file:_files -g '(#i)*.(zip|[jw]ar)'" \
+ "(-p -f -u -l -t -z -n -o -j -C -X -q -qq -a -aa -v -L -M)1:zip file:_files -g '(#i)*.(zip|[ejw]ar)'" \
'*:file:->files' && return 0
;;
esac
@@ -98,7 +98,7 @@ if [[ $service == zipinfo ]] || [[ -n $uzi ]]; then
'(-1 -2)-T[use sortable decimal format for file times]' \
'-M[page output]' \
'-x[exclude the following names]' \
- "(-1 -2 -s -m -l -v -h -z -C -t -T -M)1:zip file:_files -g '(#i)*.(zip|[jw]ar)'" \
+ "(-1 -2 -s -m -l -v -h -z -C -t -T -M)1:zip file:_files -g '(#i)*.(zip|[ejw]ar)'" \
'*:file:->files' && return 0
fi
@@ -112,7 +112,7 @@ case $state in
;;
files)
if [[ $service = zip ]] && (( ! ${+opt_args[-d]} )); then
- _files -g '^(#i)*.(zip|[jw]ar)' && return 0
+ _files -g '^(#i)*.(zip|[ejw]ar)' && return 0
else
zipfile=( $~line[1](|.zip|.ZIP) )
[[ -z $zipfile[1] ]] && return 1