diff options
author | Clint Adams <clint@users.sourceforge.net> | 2008-10-07 07:46:09 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2008-10-07 07:46:09 +0000 |
commit | 8538c98ddf96430815df970ab881987d6a436787 (patch) | |
tree | d162c76602b08402df41d633487112f9dc0c1558 /Completion/Linux | |
parent | 26616e1a231da91fd20653946d40660b62499804 (diff) | |
download | zsh-8538c98ddf96430815df970ab881987d6a436787.tar.gz zsh-8538c98ddf96430815df970ab881987d6a436787.tar.xz zsh-8538c98ddf96430815df970ab881987d6a436787.zip |
Jörg Sommer: 25822: declare val_args as local array.
Diffstat (limited to 'Completion/Linux')
-rw-r--r-- | Completion/Linux/Command/_modutils | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Linux/Command/_modutils b/Completion/Linux/Command/_modutils index 91dff4bde..faab85275 100644 --- a/Completion/Linux/Command/_modutils +++ b/Completion/Linux/Command/_modutils @@ -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 |