mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-21 00:01:26 +01:00
Jörg Sommer: 25572: completer module parameters
This commit is contained in:
parent
2e3363ef7d
commit
a2f158f531
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-09-01 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* Jörg Sommer: 25572: Completion/Linux/Command/_modutils:
|
||||
complete module parameters.
|
||||
|
||||
2008-08-31 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 25571: Src/lex.c, Src/parse.c, Test/.distfiles,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue