Skip to content

Instantly share code, notes, and snippets.

@m-wynn
Created October 5, 2015 06:43
Show Gist options
  • Save m-wynn/387d72a2876db72feb96 to your computer and use it in GitHub Desktop.
Save m-wynn/387d72a2876db72feb96 to your computer and use it in GitHub Desktop.
colors everywhere
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