Merge pull request #3647 from apjanke/bash-null-completion

bash completion: add null completion where appropriate
This commit is contained in:
Mike McQuaid 2018-01-09 15:04:56 +00:00 committed by GitHub
commit 5fe2ca2a83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {