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 | |
parent | f64cc0a2df49b11835cda8a91675014aafc05faf (diff) | |
download | zsh-ce16f6390668f23dfcb4c68f58358a3ad448b96c.tar.gz zsh-ce16f6390668f23dfcb4c68f58358a3ad448b96c.tar.xz zsh-ce16f6390668f23dfcb4c68f58358a3ad448b96c.zip |
unposted: declare _links vals parameter local
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_links | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 03fafd9b1..2d026bb74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-06-30 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_links: declare parameter vals + local + 2005-06-28 Doug Kearns <djkea2@gus.gscit.monash.edu.au> * 21392: Completion/Unix/Command/_w3m: update w3m completion for 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) |