From 8538c98ddf96430815df970ab881987d6a436787 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Tue, 7 Oct 2008 07:46:09 +0000 Subject: Jörg Sommer: 25822: declare val_args as local array. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Completion/Linux/Command/_modutils | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Completion/Linux') 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 -- cgit 1.4.1