bash completion: add null completion where appropriate
This commit is contained in:
parent
987805d3dc
commit
cb34102459
@ -1,5 +1,10 @@
|
|||||||
# Bash completion script for brew(1)
|
# Bash completion script for brew(1)
|
||||||
|
|
||||||
|
# Indicates there are no completions
|
||||||
|
__brewcomp_null() {
|
||||||
|
COMPREPLY=""
|
||||||
|
}
|
||||||
|
|
||||||
__brewcomp_words_include() {
|
__brewcomp_words_include() {
|
||||||
local i=1
|
local i=1
|
||||||
while [[ "$i" -lt "$COMP_CWORD" ]]
|
while [[ "$i" -lt "$COMP_CWORD" ]]
|
||||||
@ -399,6 +404,7 @@ _brew_search() {
|
|||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
__brewcomp_null
|
||||||
}
|
}
|
||||||
|
|
||||||
_brew_style() {
|
_brew_style() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user