From 6468eaae7a81132964fe19f97a78947296e7060a Mon Sep 17 00:00:00 2001 From: Proctor Date: Thu, 16 Jan 2014 11:08:09 -0600 Subject: [PATCH] check to see if brew exists for linux machines --- .bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index 632d20a..9a13ac3 100644 --- a/.bash_profile +++ b/.bash_profile @@ -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