11 lines
263 B
Diff
11 lines
263 B
Diff
--- bash_completion.orig
|
|
+++ bash_completion
|
|
@@ -718,7 +718,7 @@ _init_completion()
|
|
fi
|
|
done
|
|
|
|
- [[ $cword -eq 0 ]] && return 1
|
|
+ [[ $cword -le 0 ]] && return 1
|
|
prev=${words[cword-1]}
|
|
|
|
[[ ${split-} ]] && _split_longopt && split=true
|