summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_next_label4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Core/_next_label b/Completion/Core/_next_label
index d2d698171..620e67421 100644
--- a/Completion/Core/_next_label
+++ b/Completion/Core/_next_label
@@ -13,10 +13,10 @@ if comptags -A "$1" curtag spec; then
     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