bash-completion/bash-completion-2.1-bash-4.3.patch

13 lines
443 B
Diff
Raw Normal View History

diff -Nru bash-completion-2.1.orig/bash_completion bash-completion-2.1/bash_completion
--- bash-completion-2.1.orig/bash_completion 2013-04-05 10:55:51.000000000 +0000
+++ bash-completion-2.1/bash_completion 2014-05-05 07:56:56.720101465 +0000
@@ -707,7 +707,7 @@
fi
done
- [[ $cword -eq 0 ]] && return 1
+ [[ $cword -le 0 ]] && return 1
prev=${words[cword-1]}
[[ ${split-} ]] && _split_longopt && split=true