]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - gitconfig.in
gitconfig: add alias for diff --cached --stat (dcs)
[config/dotfiles.git] / gitconfig.in
index 43819d60fc35c62b78748857fa811c877d44b663..1f24fb838fa0b02438214e32b7f10ca722da2dc7 100644 (file)
@@ -29,7 +29,7 @@
        # Hunk header.
        frag = magenta bold
        # Function in hunk header.
-       func = magenta bold
+       func = blue bold
        # Removed lines.
        old = red bold
        # Added lines.
        # Commit headers.
        commit = cyan
 
+# GNU grep-like colors.
+[color "grep"]
+       filename = magenta
+       linenumber = green
+
 [core]
        editor = vim
        # Global gitattributes file. Thanks to canton7 in #git on Freenode
        cad = commit --verbose --amend --date=
        d   = diff
        dw  = diff --color-words
+       ds  = diff --stat
        dc  = diff --cached
        dcw = diff --cached --color-words
-       ds  = diff --stat
+       dcs = diff --cached --stat
        g   = grep
        s   = status
        l   = log