summaryrefslogtreecommitdiffstats
path: root/Completion/Base/_arguments
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-11-22 17:58:47 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-11-22 17:58:47 +0000
commitabe6b42d1f57ed4114778f79ecc4723b70b86122 (patch)
tree58c4fd870bce9aae72095fabf53c22bb80917c03 /Completion/Base/_arguments
parentzsh-workers/8726 (diff)
downloadzsh-abe6b42d1f57ed4114778f79ecc4723b70b86122.tar
zsh-abe6b42d1f57ed4114778f79ecc4723b70b86122.tar.gz
zsh-abe6b42d1f57ed4114778f79ecc4723b70b86122.tar.bz2
zsh-abe6b42d1f57ed4114778f79ecc4723b70b86122.tar.lz
zsh-abe6b42d1f57ed4114778f79ecc4723b70b86122.tar.xz
zsh-abe6b42d1f57ed4114778f79ecc4723b70b86122.tar.zst
zsh-abe6b42d1f57ed4114778f79ecc4723b70b86122.zip
manual/8728
Diffstat (limited to 'Completion/Base/_arguments')
-rw-r--r--Completion/Base/_arguments4
1 files changed, 1 insertions, 3 deletions
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments
index f7e1cdedd..fa72f323d 100644
--- a/Completion/Base/_arguments
+++ b/Completion/Base/_arguments
@@ -166,7 +166,7 @@ _style -s options auto-description autod
if comparguments -i "$autod" "$@"; then
local nm="$compstate[nmatches]" action noargs aret expl local
local next direct odirect equal single match matched ws tmp1 tmp2
- local opts subc
+ local opts subc prefix suffix
if comparguments -D descr action; then
comparguments -C subc
@@ -289,8 +289,6 @@ if comparguments -i "$autod" "$@"; then
if [[ -n "$opts" && -z "$aret$matched" &&
nm -eq compstate[nmatches] ]]; then
- local prefix suffix
-
prefix="${PREFIX#*\=}"
suffix="$SUFFIX"
PREFIX="${PREFIX%%\=*}"