Prevent errors popping up on non-OS X machines.
This commit is contained in:
parent
2e84bef1b0
commit
f5ebe82448
2
.bashrc
2
.bashrc
|
@ -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
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue