Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions system/grc.zsh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# GRC colorizes nifty unix tools all over the place
if (( $+commands[grc] )) && (( $+commands[brew] ))
then
source `brew --prefix`/etc/grc.bashrc
# GRC colorizes command output when available.
if (( $+commands[grc] )) && (( $+commands[brew] )); then
grc_prefix="$(brew --prefix)"

if [[ -f "$grc_prefix/etc/grc.zsh" ]]; then
source "$grc_prefix/etc/grc.zsh"
fi

unset grc_prefix
fi