grep: exclude .git by default, it generally useless to search in .git directory.

This commit is contained in:
Julien Palard 2014-12-22 11:33:03 +01:00
parent 6a0975901e
commit 339bdb5cd5
1 changed files with 1 additions and 1 deletions

2
bashrc
View File

@ -117,7 +117,7 @@ else
export PS1="$PS1"'\$ '
fi
alias grep="grep --color"
alias grep="grep --exclude-dir=.git --color"
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -lA'