mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-21 00:01:26 +01:00
Jörg Sommer: 25822: declare val_args as local array.
This commit is contained in:
parent
26616e1a23
commit
8538c98ddf
2 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
2008-10-07 Clint Adams <clint@zsh.org>
|
||||
|
||||
* Jörg Sommer: 25822: Completion/Linux/Command/_modutils: declare
|
||||
val_args as local array.
|
||||
|
||||
* Jörg Sommer: 25821: Completion/Linux/Command/_modutils: return 0
|
||||
if a modules parameter was completed.
|
||||
|
||||
|
|
|
@ -95,6 +95,8 @@ case "$state" in
|
|||
if compset -P '*='; then
|
||||
_message -e value 'parameter value'
|
||||
else
|
||||
typeset -A val_args
|
||||
|
||||
_values 'module parameter' \
|
||||
${(f)^"$(_call_program module_parameter modinfo -F parm "$words[2]" 2>/dev/null)"//:/\=[}\] && ret=0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue