diff options
Diffstat (limited to 'Completion/Unix')
-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) |