diff options
author | Doug Kearns <dkearns@users.sourceforge.net> | 2005-06-30 14:41:53 +0000 |
---|---|---|
committer | Doug Kearns <dkearns@users.sourceforge.net> | 2005-06-30 14:41:53 +0000 |
commit | ce16f6390668f23dfcb4c68f58358a3ad448b96c (patch) | |
tree | bca8b70a15323e42a477adc2897d3145edfca8c6 /Completion | |
parent | f64cc0a2df49b11835cda8a91675014aafc05faf (diff) | |
download | zsh-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/_links | 3 |
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) |