summaryrefslogtreecommitdiff
path: root/completions/chkconfig
diff options
context:
space:
mode:
Diffstat (limited to 'completions/chkconfig')
-rw-r--r--completions/chkconfig10
1 files changed, 5 insertions, 5 deletions
diff --git a/completions/chkconfig b/completions/chkconfig
index 8766b3a2..f1ee8704 100644
--- a/completions/chkconfig
+++ b/completions/chkconfig
@@ -12,7 +12,7 @@ _chkconfig()
return
;;
--level)
- COMPREPLY=( $( compgen -W '{1..6}' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '{1..6}' -- "$cur") )
return
;;
esac
@@ -20,12 +20,12 @@ _chkconfig()
$split && return
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '--list --add --del --override --level' \
- -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '--list --add --del --override --level' \
+ -- "$cur") )
else
if [[ $cword -eq 2 || $cword -eq 4 ]]; then
- COMPREPLY=( $( compgen -W 'on off reset resetpriorities' \
- -- "$cur" ) )
+ COMPREPLY=( $(compgen -W 'on off reset resetpriorities' \
+ -- "$cur") )
else
_services
_xinetd_services