From bf2b2bcce77371871c4e35eda549756c89b62fdc Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 4 Jan 2000 14:59:46 +0000 Subject: zsh-workers/9198 --- Completion/Base/_arguments | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Completion/Base/_arguments') diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments index 5a6ee1930..5ff2f6311 100644 --- a/Completion/Base/_arguments +++ b/Completion/Base/_arguments @@ -246,13 +246,14 @@ if (( $# )) && comparguments -i "$autod" "$@"; then # If the action starts with a space, we just call it. - ${(e)=~action} + eval "action=( $action )" + "$action[@]" else # Otherwise we call it with the description-arguments built above. - action=( $=action ) - ${(e)action[1]} "$subopts[@]" "$expl[@]" ${(e)~action[2,-1]} + eval "action=( $action )" + "$action[1]" "$subopts[@]" "$expl[@]" "${(@)action[2,-1]}" fi fi fi -- cgit 1.4.1