We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 845be11 commit 645cc41Copy full SHA for 645cc41
completions/update-rc.d
@@ -17,8 +17,8 @@ _update_rc_d()
17
options=( -f -n )
18
19
if [[ $cword -eq 1 || "$prev" == -* ]]; then
20
- COMPREPLY=( $(compgen -W '${options[@]} ${services[@]}' \
21
- -X '$(tr " " "|" <<<${words[@]})' -- "$cur") )
+ COMPREPLY=( $(compgen -W '${options[@]} ${services[@]}' \
+ -X '$(tr " " "|" <<<${words[@]})' -- "$cur") )
22
elif [[ "$prev" == ?($(tr " " "|" <<<"${services[*]}")) ]]; then
23
COMPREPLY=( $(compgen -W 'remove defaults start stop' -- "$cur") )
24
elif [[ "$prev" == defaults && "$cur" == [0-9] ]]; then
0 commit comments