diff options
Diffstat (limited to 'Completion/Commands/_next_tags')
-rw-r--r-- | Completion/Commands/_next_tags | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Commands/_next_tags b/Completion/Commands/_next_tags index a308b307c..eb20494d7 100644 --- a/Completion/Commands/_next_tags +++ b/Completion/Commands/_next_tags @@ -62,10 +62,10 @@ _next_tags() { zformat -f descr "${curtag#*:}" "d:$3" _description "$gopt" "${curtag%:*}" "$2" "$descr" curtag="${curtag%:*}" - eval "${2}=( \${(P)2} \$argv[4,-1] )" + set -A "$2" "${(P@)2}" "${(@)argv[4,-1]}" else _description "$gopt" "$curtag" "$2" "$3" - eval "${2}=( \$argv[4,-1] \${(P)2} )" + set -A "$2" "${(@)argv[4,-1]}" "${(P@)2}" fi return 0 |