diff options
| author | Oliver Kiddle <opk@users.sourceforge.net> | 2002-01-16 16:29:51 +0000 |
|---|---|---|
| committer | Oliver Kiddle <opk@users.sourceforge.net> | 2002-01-16 16:29:51 +0000 |
| commit | d7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87 (patch) | |
| tree | 1f21ac9faf956d67f24e2005b82a42264a27f535 /Completion/Unix/Command/_modutils | |
| parent | 16449: new chkconfig completion for both the RedHat and IRIX commands (diff) | |
| download | zsh-d7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87.tar zsh-d7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87.tar.gz zsh-d7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87.tar.bz2 zsh-d7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87.tar.lz zsh-d7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87.tar.xz zsh-d7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87.tar.zst zsh-d7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87.zip | |
16461: a number of minor completion function updates
Diffstat (limited to 'Completion/Unix/Command/_modutils')
| -rwxr-xr-x | Completion/Unix/Command/_modutils | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_modutils b/Completion/Unix/Command/_modutils index 481b8b289..1b47e8a3d 100755 --- a/Completion/Unix/Command/_modutils +++ b/Completion/Unix/Command/_modutils @@ -1,6 +1,6 @@ #compdef modprobe rmmod -local expl loaded +local curcontext="$curcontext" state line expl loaded _modutils_loaded_modules() { @@ -62,7 +62,7 @@ case "$service" in '(-C)--config:config file:_files' ) - _arguments '(--remove)-r[remove]:*:loaded module:->modprobe_remove' \ + _arguments -C '(--remove)-r[remove]:*:loaded module:->modprobe_remove' \ '(-r)--remove:*:loaded module:->modprobe_remove' \ '(--list)-l[list matching modules]:*:module file:->modprobe_list' \ '(-l)--list:*:module file:->modprobe_list' \ |
