aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--completions/bash/brew6
1 files changed, 6 insertions, 0 deletions
diff --git a/completions/bash/brew b/completions/bash/brew
index 60c272f73..26adef37d 100644
--- a/completions/bash/brew
+++ b/completions/bash/brew
@@ -1,5 +1,10 @@
# Bash completion script for brew(1)
+# Indicates there are no completions
+__brewcomp_null() {
+ COMPREPLY=""
+}
+
__brewcomp_words_include() {
local i=1
while [[ "$i" -lt "$COMP_CWORD" ]]
@@ -399,6 +404,7 @@ _brew_search() {
return
;;
esac
+ __brewcomp_null
}
_brew_style() {