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