Created
October 5, 2015 06:43
-
-
Save m-wynn/387d72a2876db72feb96 to your computer and use it in GitHub Desktop.
colors everywhere
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GRC=`which grc` | |
if [ "$TERM" != dumb ] && [ -n GRC ] | |
then | |
alias colorize="$GRC -es --colour=auto" | |
for c in as c++ configure cvs df diff dig esperanto gas gcc g++ ld ldapadd ldapauth ldapdelete ldapmodify ldapmodrdn ldappassd ldapsearch ldapwhoami last make mount netstat ping php ps proftpd traceroute wdiff; do | |
alias ${c}="colorize ${c}" | |
done | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment