summaryrefslogtreecommitdiff
path: root/lib/grep.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/grep.zsh')
-rw-r--r--lib/grep.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/grep.zsh b/lib/grep.zsh
index 4e55464c5..348ebe623 100644
--- a/lib/grep.zsh
+++ b/lib/grep.zsh
@@ -16,9 +16,9 @@ elif grep-flag-available --exclude=.cvs; then
fi
# export grep settings
-export GREP_OPTIONS="$GREP_OPTIONS"
-export GREP_COLOR='1;32'
+alias grep="grep $GREP_OPTIONS"
# clean up
+unset GREP_OPTIONS
unset VCS_FOLDERS
unfunction grep-flag-available