check to see if brew exists for linux machines

This commit is contained in:
2014-01-16 11:08:09 -06:00
parent af4cfb07d4
commit 6468eaae7a

View File

@@ -8,7 +8,7 @@ set -o vi
export CLICOLOR=1
if [ -f $(brew --prefix)/etc/bash_completion ]; then
if [[ -f brew && -f $(brew --prefix)/etc/bash_completion ]]; then
. $(brew --prefix)/etc/bash_completion
fi