mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-11-22 15:08:25 -06:00
only source brew if found on system
linux boxes don't use brew...
This commit is contained in:
1 parent
6468eaae7a
commit
e8f87d147a
1 file changed
+1
-1
+1
-1
@@ -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