mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-01-28 12:49:56 -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
|
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
|
. $(brew --prefix)/etc/bash_completion
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user