mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-01-28 10:09:55 -06:00
only source brew if found on system
linux boxes don't use brew...
This commit is contained in:
@@ -8,7 +8,7 @@ set -o vi
|
||||
|
||||
export CLICOLOR=1
|
||||
|
||||
if [[ -f brew && -f $(brew --prefix)/etc/bash_completion ]]; then
|
||||
if which brew 2>/dev/null && [-f $(brew --prefix)/etc/bash_completion ]; then
|
||||
. $(brew --prefix)/etc/bash_completion
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user