Files
bash-it/completion/brew.completion.bash
John Schulz 7ce4184c93 Alter test for brew to prevent false positive.
`brew` reports 'no brew found in ...' to `stdout` (at least on Solaris) resulting in a false positive.
2010-11-10 11:46:05 -05:00

5 lines
191 B
Bash

if which brew >/dev/null 2>&1; then
if [ -f `brew --prefix`/Library/Contributions/brew_bash_completion.sh ]; then
. `brew --prefix`/Library/Contributions/brew_bash_completion.sh
fi
fi