Browse files

system: Don't add brew prefixes if we aren't on an actual machine wit…

…h brew installed.
  • Loading branch information...
1 parent e4bb118 commit 9b152682418286c3c2e340ed7b673df4e4eeba8d @memborsky memborsky committed with Nov 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 system/grc.zsh
4 system/grc.zsh
@@ -1,5 +1,5 @@
# GRC colorizes nifty unix tools all over the place
-if $(grc &>/dev/null)
+if $(grc &>/dev/null) && $(brew &>/dev/null)
source `brew --prefix`/etc/grc.bashrc

0 comments on commit 9b15268

Please sign in to comment.