1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-24 04:50:27 +02:00

unposted: declare _links vals parameter local

This commit is contained in:
Doug Kearns 2005-06-30 14:41:53 +00:00
parent f64cc0a2df
commit ce16f63906
2 changed files with 7 additions and 1 deletions

View file

@ -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)