]> code.delx.au - dotfiles/commitdiff
Bash: Ignore svn files by default when using grep
authorJames Bunton <jamesbunton@delx.net.au>
Fri, 6 Mar 2009 12:13:58 +0000 (23:13 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Fri, 6 Mar 2009 12:13:58 +0000 (23:13 +1100)
.bash/interactive

index 6745a180bbf5c7fd4cac6ca4a62516c6ffc5e751..61392eb80e5f8759a44578dc53ac6169b2b4d040 100644 (file)
@@ -46,7 +46,7 @@ alias f='find . -iname'
 alias webshare='python -c "import SimpleHTTPServer; SimpleHTTPServer.test()"'
 alias rm='rm -i'
 alias less='less -R'
-alias grep='grep --color=auto'
+alias grep='grep --color=auto --exclude "*.svn-base"'
 
 # Bash should check the terminal size after every command terminates
 shopt -s checkwinsize