Prevent errors popping up on non-OS X machines.

This commit is contained in:
Scott Wallace 2016-03-08 20:10:52 +00:00
parent 2e84bef1b0
commit f5ebe82448

View file

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