From e8f87d147a65c90c2a7e387951622cb1bcf1cfda Mon Sep 17 00:00:00 2001 From: Proctor Date: Thu, 16 Jan 2014 11:27:58 -0600 Subject: [PATCH] only source brew if found on system linux boxes don't use brew... --- .bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index 9a13ac3..7cff78a 100644 --- a/.bash_profile +++ b/.bash_profile @@ -8,7 +8,7 @@ set -o vi export CLICOLOR=1 -if [[ -f brew && -f $(brew --prefix)/etc/bash_completion ]]; then +if which brew 2>/dev/null && [-f $(brew --prefix)/etc/bash_completion ]; then . $(brew --prefix)/etc/bash_completion fi