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
|
if which brew 2>&1 >/dev/null ; then
|
||||||
source $(brew --prefix)/etc/bash_completion
|
if [ -f $(brew --prefix)/etc/bash_completion ]; then
|
||||||
fi
|
source $(brew --prefix)/etc/bash_completion
|
||||||
|
fi
|
||||||
|
fi
|
Loading…
Reference in New Issue