From ee681a32ad5a2e69301494be45556a4020fe1384 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Tue, 23 May 2000 08:54:30 +0000 Subject: use `set -A' instead of `eval' in more places (11525) --- Completion/Commands/_next_tags | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Commands/_next_tags') 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 -- cgit 1.4.1