diff options
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' \ |