diff options
Diffstat (limited to 'completions/chkconfig')
-rw-r--r-- | completions/chkconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/chkconfig b/completions/chkconfig index 31a575e3..3da4d43c 100644 --- a/completions/chkconfig +++ b/completions/chkconfig @@ -7,7 +7,7 @@ _chkconfig() case $prev in --level=[1-6]|[1-6]|--list|--add|--del|--override) - _services + _xfunc service _services return 0 ;; --level) @@ -24,7 +24,7 @@ _chkconfig() if [[ $cword -eq 2 || $cword -eq 4 ]]; then COMPREPLY=( $( compgen -W 'on off reset resetpriorities' -- "$cur" ) ) else - _services + _xfunc service _services fi fi } && |