chiark / gitweb /
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 1f002ca673f4f84be943ffcb40cf87958719059c..687ff9e1ad811ac9377c1cb6a98f06b3f7df12f8 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"