about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorDoug Kearns <dkearns@users.sourceforge.net>2005-06-30 14:41:53 +0000
committerDoug Kearns <dkearns@users.sourceforge.net>2005-06-30 14:41:53 +0000
commitce16f6390668f23dfcb4c68f58358a3ad448b96c (patch)
treebca8b70a15323e42a477adc2897d3145edfca8c6 /Completion
parentf64cc0a2df49b11835cda8a91675014aafc05faf (diff)
downloadzsh-ce16f6390668f23dfcb4c68f58358a3ad448b96c.tar.gz
zsh-ce16f6390668f23dfcb4c68f58358a3ad448b96c.tar.xz
zsh-ce16f6390668f23dfcb4c68f58358a3ad448b96c.zip
unposted: declare _links vals parameter local
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_links3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_links b/Completion/Unix/Command/_links
index 464068d46..34bb64560 100644
--- a/Completion/Unix/Command/_links
+++ b/Completion/Unix/Command/_links
@@ -32,7 +32,8 @@ case $state in
     _alternative 'files:file:_files -g "*.x#html(-.)"' 'urls:URL:_urls' && ret=0
   ;;
   graphics_drivers)
-    vals=(${=${${${(f)"$(_call_program links-graphics-drivers links -driver help 2>&1)"}[-1]}//','/''}} )
+    local -a vals
+    vals=( ${=${${${(f)"$(_call_program links-graphics-drivers links -driver help 2>&1)"}[-1]}//','/''}} )
     _describe -t links-graphics-drivers 'graphics driver' vals && ret=0
   ;;
   proxies)