only use brew if brew is installed
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user