summaryrefslogtreecommitdiff
path: root/shell-completion/bash/loginctl
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-05 21:33:08 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-05 21:33:08 -0500
commit86cb0691b71873c6fe30a103dc98153e2d9ab507 (patch)
tree5f77512f2904dfc792d10280dcad042a59534221 /shell-completion/bash/loginctl
parentff6c70f18bacad842b88bf2bfb86d6e9841c1a16 (diff)
shell-completion: busctl
Diffstat (limited to 'shell-completion/bash/loginctl')
-rw-r--r--shell-completion/bash/loginctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/loginctl b/shell-completion/bash/loginctl
index 3104b305fa..b0816a3b86 100644
--- a/shell-completion/bash/loginctl
+++ b/shell-completion/bash/loginctl
@@ -70,7 +70,7 @@ _loginctl () {
[ATTACH]='attach'
)
- for ((i=0; $i <= $COMP_CWORD; i++)); do
+ for ((i=0; i <= COMP_CWORD; i++)); do
if __contains_word "${COMP_WORDS[i]}" ${VERBS[*]} &&
! __contains_word "${COMP_WORDS[i-1]}" ${OPTS[ARG]}; then
verb=${COMP_WORDS[i]}