gitconfig: Colouring configuration.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 7 Jul 2009 18:15:40 +0000 (19:15 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 7 Jul 2009 18:15:40 +0000 (19:15 +0100)
Fix colours for `git add --interactive', and add new settings for `git
grep'.

gitconfig

index 1f002ca..687ff9e 100644 (file)
--- a/gitconfig
+++ b/gitconfig
@@ -28,6 +28,7 @@
        status = auto
        branch = auto
        interactive = auto
+       grep = auto
 
 [color "diff"]
        plain = normal
        commit = bold yellow
        whitespace = reverse red
 
+[color "interactive"]
+        prompt = bold yellow
+        header = bold
+        help = green
+        error = bold red
+
 [color "status"]
        header = bold
        added = bold green
@@ -48,6 +55,9 @@
        local = normal
        remote = cyan
 
+[color "grep"]
+       external = --color=always
+
 [alias]
        egrep = "grep -E"
        patch = "format-patch -o p -s"