mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-21 00:01:26 +01:00
Jörg Sommer: 25821: return 0 if a modules parameter was completed.
This commit is contained in:
parent
38b8cdbcdf
commit
26616e1a23
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2008-10-07 Clint Adams <clint@zsh.org>
|
||||
|
||||
* Jörg Sommer: 25821: Completion/Linux/Command/_modutils: return 0
|
||||
if a modules parameter was completed.
|
||||
|
||||
* Jörg Sommer: 25820: Completion/Linux/Command/_modutils: add the
|
||||
option --field of modinfo.
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ case "$state" in
|
|||
_message -e value 'parameter value'
|
||||
else
|
||||
_values 'module parameter' \
|
||||
${(f)^"$(_call_program module_parameter modinfo -F parm "$words[2]" 2>/dev/null)"//:/\=[}\]
|
||||
${(f)^"$(_call_program module_parameter modinfo -F parm "$words[2]" 2>/dev/null)"//:/\=[}\] && ret=0
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue