summaryrefslogtreecommitdiffstats
path: root/shells/bash-completion/files/patch-bash__completion
diff options
context:
space:
mode:
Diffstat (limited to 'shells/bash-completion/files/patch-bash__completion')
-rw-r--r--shells/bash-completion/files/patch-bash__completion11
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/bash-completion/files/patch-bash__completion b/shells/bash-completion/files/patch-bash__completion
new file mode 100644
index 0000000..6e6d95f
--- /dev/null
+++ b/shells/bash-completion/files/patch-bash__completion
@@ -0,0 +1,11 @@
+--- bash_completion.orig 2015-01-20 16:17:24 UTC
++++ 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
OpenPOWER on IntegriCloud