only use brew if brew is installed
This commit is contained in:
parent
80ae2bea99
commit
9fb45b2621
|
@ -1,3 +1,5 @@
|
|||
if [ -f $(brew --prefix)/etc/bash_completion ]; then
|
||||
source $(brew --prefix)/etc/bash_completion
|
||||
if which brew 2>&1 >/dev/null ; then
|
||||
if [ -f $(brew --prefix)/etc/bash_completion ]; then
|
||||
source $(brew --prefix)/etc/bash_completion
|
||||
fi
|
||||
fi
|
Loading…
Reference in New Issue