From 11b3a33ab601fa34efeb51a0696733b3db388da7 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 30 Sep 2010 11:55:23 -0700 Subject: [PATCH] grc - update rc script * Don't use DATA to write out the rc script * Put it in prefix/etc instead of etc --- Formula/grc.rb | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/Formula/grc.rb b/Formula/grc.rb index 74718202981..64f117629b4 100644 --- a/Formula/grc.rb +++ b/Formula/grc.rb @@ -15,30 +15,32 @@ class Grc > ~/.bashrc + echo 'source "`brew --prefix grc`/etc/grc.bashrc"' >> ~/.bashrc EOS end end - -__END__ -GRC=`which grc` -if [ "$TERM" != dumb ] && [ -n GRC ] -then - alias colourify="$GRC -es --colour=auto" - alias configure='colourify ./configure' - alias diff='colourify diff' - alias make='colourify make' - alias gcc='colourify gcc' - alias g++='colourify g++' - alias as='colourify as' - alias gas='colourify gas' - alias ld='colourify ld' - alias netstat='colourify netstat' - alias ping='colourify ping' - alias traceroute='colourify /usr/sbin/traceroute' -fi