about summary refs log tree commit diff
path: root/Completion/Base/_arguments
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-23 08:54:30 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-23 08:54:30 +0000
commitee681a32ad5a2e69301494be45556a4020fe1384 (patch)
treefbb0c6fa5f02dd7a7525e2ab8a83c9c64b8c8b17 /Completion/Base/_arguments
parentcb50583b184fd8aa456fcadd0c25e0c43f704a72 (diff)
downloadzsh-ee681a32ad5a2e69301494be45556a4020fe1384.tar.gz
zsh-ee681a32ad5a2e69301494be45556a4020fe1384.tar.xz
zsh-ee681a32ad5a2e69301494be45556a4020fe1384.zip
use `set -A' instead of `eval' in more places (11525)
Diffstat (limited to 'Completion/Base/_arguments')
-rw-r--r--Completion/Base/_arguments2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments
index 4b7aaa1a0..b605605da 100644
--- a/Completion/Base/_arguments
+++ b/Completion/Base/_arguments
@@ -149,7 +149,7 @@ if (( long )); then
 	cache=( "$cache[@]" "$tmp[@]" )
       fi
     done
-    eval "${name}=( \"\${(@)cache:# #}\" )"
+    set -A "$name" "${(@)cache:# #}"
   fi
   set -- "$tmpargv[@]" "${(@P)name}"
 fi