Skip to content

Commit

Permalink
Only source grc if grc and brew are installed
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed Dec 14, 2013
1 parent 45701d9 commit 857bc9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/grc.zsh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# GRC colorizes nifty unix tools all over the place
if $(grc &>/dev/null) && ! $(brew &>/dev/null)
if (( $+commands[grc] )) && (( $+commands[brew] ))
then
source `brew --prefix`/etc/grc.bashrc
fi

0 comments on commit 857bc9e

Please sign in to comment.