about summary refs log tree commit diff
path: root/Completion/Linux/Command
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-09-01 17:13:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-09-01 17:13:32 +0000
commita2f158f531cc46217f3a1f1acd7703369279ca59 (patch)
tree24c2f81656f52994b0e0750b676b58d63f23afd9 /Completion/Linux/Command
parent2e3363ef7d1492bf8644b7cad89e500c3fc3251b (diff)
downloadzsh-a2f158f531cc46217f3a1f1acd7703369279ca59.tar.gz
zsh-a2f158f531cc46217f3a1f1acd7703369279ca59.tar.xz
zsh-a2f158f531cc46217f3a1f1acd7703369279ca59.zip
Jörg Sommer: 25572: completer module parameters
Diffstat (limited to 'Completion/Linux/Command')
-rw-r--r--Completion/Linux/Command/_modutils3
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