From 8746ae9979dc8cccef856300f14f6d98b4285d5a Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Wed, 13 Oct 1999 17:50:30 +0000 Subject: zsh-workers/8231 --- Completion/Base/_arguments | 6 +++--- Completion/Base/_values | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'Completion/Base') diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments index 9875d979b..f7a20ee96 100644 --- a/Completion/Base/_arguments +++ b/Completion/Base/_arguments @@ -171,18 +171,18 @@ if comparguments -i "$compconfig[autodescribe_options]" "$@"; then _description expl "$descr" if [[ "$action" = -\>* ]]; then - comparguments -W line options + comparguments -W line opt_args state="${${action[3,-1]##[ ]#}%%[ ]#}" compstate[restore]='' aret=yes else if [[ -z "$local" ]]; then local line - typeset -A options + typeset -A opt_args local=yes fi - comparguments -W line options + comparguments -W line opt_args if [[ "$action" = \ # ]]; then diff --git a/Completion/Base/_values b/Completion/Base/_values index aff2f92d8..549c71ff8 100644 --- a/Completion/Base/_values +++ b/Completion/Base/_values @@ -59,14 +59,14 @@ if compvalues -i "$@"; then expl=( "-qS$sep" "$expl[@]" ) if [[ "$action" = -\>* ]]; then - compvalues -v values + compvalues -v val_args state="${${action[3,-1]##[ ]#}%%[ ]#}" compstate[restore]='' return 1 else - typeset -A values + typeset -A val_args - compvalues -v values + compvalues -v val_args if [[ "$action" = \ # ]]; then -- cgit 1.4.1