mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
14 lines
339 B
Diff
14 lines
339 B
Diff
diff --git a/bash_completion b/bash_completion
|
|
index 66d36b1..ce469d0 100644
|
|
--- a/bash_completion
|
|
+++ b/bash_completion
|
|
@@ -707,7 +707,7 @@ _init_completion()
|
|
fi
|
|
done
|
|
|
|
- [[ $cword -eq 0 ]] && return 1
|
|
+ [[ $cword -le 0 ]] && return 1
|
|
prev=${words[cword-1]}
|
|
|
|
[[ ${split-} ]] && _split_longopt && split=true
|