Skip to content

Commit

Permalink
Clean up grep options, deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
evilpeno committed Jul 4, 2019
1 parent 3418ac1 commit 7a2b87f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,6 @@ export EDITOR
alias editor=$EDITOR
export LSCOLORS='ExGxBxDxCxEgEdxbxgxcxd'

# Set grep to ignore SCM directories
if ! $(grep --exclude-dir 2> /dev/null); then
GREP_OPTIONS="--color --exclude-dir=.svn --exclude=\*.pyc --exclude-dir=.hg --exclude-dir=.bzr --exclude-dir=.git --exclude=tags"
else
GREP_OPTIONS="--color --exclude=\*.svn\* --exclude=\*.pyc --exclude=\*.hg\* --exclude=\*.bzr\* --exclude=\*.git\* --exclude=tags"
fi
export GREP_OPTIONS

# }}}
case $TERM in
xterm*)
precmd () {print -Pn "\e]0;%n@%m: %~\a"}
Expand Down

0 comments on commit 7a2b87f

Please sign in to comment.