summaryrefslogtreecommitdiffstats
path: root/Completion/User/_gs
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-23 04:19:26 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-23 04:19:26 +0000
commit626e2aeb1657f112feb6d03c34bb9e9f44764c75 (patch)
tree9e4a306df7b5826a796b99f0b6ffa3423ee9f5f9 /Completion/User/_gs
parentzsh-workers/10193 (diff)
downloadzsh-626e2aeb1657f112feb6d03c34bb9e9f44764c75.tar
zsh-626e2aeb1657f112feb6d03c34bb9e9f44764c75.tar.gz
zsh-626e2aeb1657f112feb6d03c34bb9e9f44764c75.tar.bz2
zsh-626e2aeb1657f112feb6d03c34bb9e9f44764c75.tar.lz
zsh-626e2aeb1657f112feb6d03c34bb9e9f44764c75.tar.xz
zsh-626e2aeb1657f112feb6d03c34bb9e9f44764c75.tar.zst
zsh-626e2aeb1657f112feb6d03c34bb9e9f44764c75.zip
zsh-workers/10195
Diffstat (limited to 'Completion/User/_gs')
-rw-r--r--Completion/User/_gs13
1 files changed, 6 insertions, 7 deletions
diff --git a/Completion/User/_gs b/Completion/User/_gs
index 8ae5a65f9..52345cdbb 100644
--- a/Completion/User/_gs
+++ b/Completion/User/_gs
@@ -25,8 +25,8 @@ else
if [[ "$PREFIX" = *\=* ]]; then
_message 'systemdict definition value'
else
- _wanted names expl 'systemdict definition name' &&
- compadd "$expl[@]" -M 'm:{a-z}={A-Z}' - \
+ _wanted names expl 'systemdict definition name' \
+ compadd -M 'm:{a-z}={A-Z}' - \
DISKFONTS NOCACHE NOBIND NODISPLAY NOPAUSE PLATFONTS SAFER \
WRITESYSTEMDICT && ret=0
fi
@@ -35,8 +35,8 @@ else
if compset -P '*='; then
case "$IPREFIX" in
*DEVICE\=)
- _wanted devices expl 'ghostscript device' &&
- compadd "$expl[@]" - "${(@)${=${$(_call devices gs -h)##* devices:}%%Search path:*}:#}" && ret=0
+ _wanted devices expl 'ghostscript device' \
+ compadd - "${(@)${=${$(_call devices gs -h)##* devices:}%%Search path:*}:#}" && ret=0
;;
*OutputFile\=)
_description files expl 'output file'
@@ -47,9 +47,8 @@ else
return 1
esac
else
- _wanted names expl 'systemdict name' &&
- compadd "$expl[@]" -S\= -M 'm:{a-z}={A-Z}' - DEVICE OutputFile &&
- ret=0
+ _wanted names expl 'systemdict name' \
+ compadd -S\= -M 'm:{a-z}={A-Z}' - DEVICE OutputFile && ret=0
fi
;;
esac