Enable colours for 'ls' and 'grep'.
--- a/.bashrc Tue Feb 14 23:23:54 2012 +0200
+++ b/.bashrc Wed Feb 15 00:38:53 2012 +0200
@@ -89,12 +89,10 @@
# make and change to a directory
md () { mkdir -p "$1" && cd "$1"; }
-# GREP_COLOR=bright yellow on black bg.
-# use GREP_COLOR=7 to highlight whitespace on black terminals
-# LANG=C for speed. See also: http://www.pixelbeat.org/scripts/findrepo
-# alias grep='GREP_COLOR="1;33;40" LANG=C grep --color=auto'
+# LANG=C for speed.
+alias grep='GREP_COLOR="31;47" LANG=C grep -n --color=auto'
+alias ls='ls --color=auto'
-# alias ls="BLOCK_SIZE=\'1 ls --color=auto" #enable thousands grouping and colour
# alias minicom='minicom -c on' #enable colour
# alias cal='cal -3' #show 3 months by default
# alias units='units -t' #terse mode