diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-03 17:22:40 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-03 17:22:40 +0000 |
commit | ed41dafd3c79ebf2ce390ee9af54fe8bb21deb73 (patch) | |
tree | a45e062eb30e19f11c04c8bb7d30e36c1b77eb7e /Completion/Base/_values | |
parent | 52a67fbbda1eda1e45d9aa6eed6c9650fbd6d0b1 (diff) | |
download | zsh-ed41dafd3c79ebf2ce390ee9af54fe8bb21deb73.tar.gz zsh-ed41dafd3c79ebf2ce390ee9af54fe8bb21deb73.tar.xz zsh-ed41dafd3c79ebf2ce390ee9af54fe8bb21deb73.zip |
zsh-workers/9546
Diffstat (limited to 'Completion/Base/_values')
-rw-r--r-- | Completion/Base/_values | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Base/_values b/Completion/Base/_values index 7b174bc58..e8004ba6f 100644 --- a/Completion/Base/_values +++ b/Completion/Base/_values @@ -20,7 +20,7 @@ if compvalues -i "$@"; then _tags values || return 1 - curcontext="${oldcontext}:values" + curcontext="${oldcontext%:*}:values" compvalues -V noargs args opts @@ -47,7 +47,7 @@ if compvalues -i "$@"; then SUFFIX="$suffix" IPREFIX="${IPREFIX}${args[1]%%:*}=" compvalues -L "${args[1]%%:*}" descr action subc - curcontext="${oldcontext}:$subc" + curcontext="${oldcontext%:*}:$subc" fi else compvalues -d descr @@ -68,7 +68,7 @@ if compvalues -i "$@"; then fi else compvalues -C subc - curcontext="${oldcontext}:$subc" + curcontext="${oldcontext%:*}:$subc" fi if ! _tags arguments; then @@ -88,7 +88,7 @@ if compvalues -i "$@"; then compvalues -v val_args state="${${action[3,-1]##[ ]#}%%[ ]#}" if [[ -n "$usecc" ]]; then - curcontext="$subc" + curcontext="${oldcontext%:*}:$subc" else context="$subc" fi |