diff options
Diffstat (limited to 'Completion/Base')
-rw-r--r-- | Completion/Base/_arguments | 6 | ||||
-rw-r--r-- | Completion/Base/_values | 6 |
2 files changed, 6 insertions, 6 deletions
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 |