]> code.delx.au - dotfiles/commitdiff
Coloured grep and bash completion
authorJames Bunton <jamesbunton@delx.net.au>
Wed, 21 Nov 2007 07:40:42 +0000 (18:40 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Wed, 21 Nov 2007 07:40:42 +0000 (18:40 +1100)
.bash/interactive

index b5681b2b28486657232c40dfa9ea3006fc3ddbee..df39c397bbda1b17ded6ca0bcd5b8561f7557c5e 100644 (file)
@@ -34,6 +34,7 @@ alias la='ls -ha'
 alias  l='ls -halF'
 alias rm='rm -i'
 alias less='less -R'
+alias grep='grep --color=auto'
 
 # Bash should check the terminal size after every command terminates
 shopt -s checkwinsize
@@ -41,3 +42,6 @@ shopt -s checkwinsize
 # Local customisations
 ssource "${HOME}/.bash/interactive_local"
 
+# Load bash completion if available
+ssource "/etc/bash_completion"
+