Don't error on non-OS X machines.

This commit is contained in:
Scott Wallace 2016-02-29 18:24:19 +00:00
parent 25a74facd5
commit 5ae9bc7b18

View file

@ -67,7 +67,7 @@ fi
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
# Add bash completion scripts # Add bash completion scripts
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
if [ -f $(brew --prefix)/etc/bash_completion ]; then if [ -f $(brew --prefix 2>/dev/null)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion . $(brew --prefix)/etc/bash_completion
fi fi
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------