From 1035b9577a8ff6391b47b739ef8cdbc86e24b736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Palmund?= Date: Thu, 3 Apr 2014 11:58:53 +0200 Subject: [PATCH] Removed invalid option for versions of grep below 2.5.3 Versions of grep below 2.5.3 do not support the --exclude-dir option. --- lib/grep.zsh | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/grep.zsh b/lib/grep.zsh index 977435ee4..a2d7f13db 100644 --- a/lib/grep.zsh +++ b/lib/grep.zsh @@ -5,9 +5,6 @@ # avoid VCS folders GREP_OPTIONS= -for PATTERN in .cvs .git .hg .svn; do - GREP_OPTIONS+="--exclude-dir=$PATTERN " -done GREP_OPTIONS+="--color=auto" export GREP_OPTIONS="$GREP_OPTIONS" export GREP_COLOR='1;32'