diff .elisp/textmate.el @ 330:629b500e1276

textmate.el: disable color on use of egrep
author Augie Fackler <durin42@gmail.com>
date Tue, 11 Mar 2014 14:16:37 -0400
parents c35b58b40fcb
children ecb85d3ba960
line wrap: on
line diff
--- a/.elisp/textmate.el
+++ b/.elisp/textmate.el
@@ -323,14 +323,14 @@ specific type of file."
                    (concat (cond ((string= type "git") "git ls-files")
                                  ((string= type "hg") "hg manifest"))
                            (if *textmate-vcs-exclude*
-                               (concat " | egrep -v "
+                               (concat " | egrep --color=never -v "
                                        (shell-quote-argument *textmate-vcs-exclude*))
                              "")
-                           " | xargs egrep -nR "
+                           " | xargs egrep --color=never -nR "
                            (if pattern (concat " --include='" pattern "' ") "")
                            " -- "
                            (shell-quote-argument re)))
-                  (t (concat "egrep -nR --exclude='"
+                  (t (concat "egrep --color=never -nR --exclude='"
                             *textmate-gf-exclude*
                             "' --include='"
                             incpat