diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-09-01 17:13:32 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-09-01 17:13:32 +0000 |
commit | a2f158f531cc46217f3a1f1acd7703369279ca59 (patch) | |
tree | 24c2f81656f52994b0e0750b676b58d63f23afd9 /Completion | |
parent | 2e3363ef7d1492bf8644b7cad89e500c3fc3251b (diff) | |
download | zsh-a2f158f531cc46217f3a1f1acd7703369279ca59.tar.gz zsh-a2f158f531cc46217f3a1f1acd7703369279ca59.tar.xz zsh-a2f158f531cc46217f3a1f1acd7703369279ca59.zip |
Jörg Sommer: 25572: completer module parameters
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Linux/Command/_modutils | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Linux/Command/_modutils b/Completion/Linux/Command/_modutils index cc7034f8c..732290363 100644 --- a/Completion/Linux/Command/_modutils +++ b/Completion/Linux/Command/_modutils @@ -85,7 +85,8 @@ case "$state" in if compset -P '*='; then _message -e value 'parameter value' else - _message -e parameter 'module parameter' + _values 'module parameter' \ + ${(f)^"$(_call_program module_parameter modinfo -F parm "$words[2]" 2>/dev/null)"//:/\=[}\] fi ;; esac |