GREP_OPTIONS: +--exclude=*.svn-base
authorlace <>
Tue, 24 Jun 2008 17:48:38 +0000 (17:48 +0000)
committerlace <>
Tue, 24 Jun 2008 17:48:38 +0000 (17:48 +0000)
 - By Andrew Stubbs.

.bashrc

diff --git a/.bashrc b/.bashrc
index f00ed6d..85ad212 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -167,7 +167,7 @@ for file in $HOME/.bookmarks.html;do
        done
 export GREP_OPTIONS="--binary-files=without-match --directories=skip"
 if echo x|GREP_OPTIONS="--exclude=y" grep -q x 2>/dev/null;then
-       export GREP_OPTIONS="$GREP_OPTIONS --exclude=tags --exclude=TAGS --exclude=CVS --exclude=ChangeLog*"
+       export GREP_OPTIONS="$GREP_OPTIONS --exclude=tags --exclude=TAGS --exclude=CVS --exclude=ChangeLog* --exclude=*.svn-base"
        # FIXME: grep(1) ignores subdirectories for --exclude.
        #export GREP_OPTIONS="$GREP_OPTIONS --exclude=testsuite --exclude=.pc --exclude=.svn"
 fi