aboutsummaryrefslogtreecommitdiff
path: root/etc/completion/bash
diff options
context:
space:
mode:
Diffstat (limited to 'etc/completion/bash')
-rw-r--r--etc/completion/bash/guix2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
index f262d4d95a..38fb490cb3 100644
--- a/etc/completion/bash/guix
+++ b/etc/completion/bash/guix
@@ -73,7 +73,7 @@ _guix_complete_option ()
local command="${COMP_WORDS[$1]}"
local subcommand="${COMP_WORDS[$(($1 + 1))]}"
- if [ $1 -le 1 ]
+ if [ $1 -eq 0 ]
then
command=""
subcommand=""