]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
gitconfig: use GNU grep-like colors for git grep
authorSimon Ruderich <simon@ruderich.org>
Tue, 28 Jul 2015 08:33:23 +0000 (10:33 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 28 Jul 2015 08:35:32 +0000 (10:35 +0200)
gitconfig.in

index 43819d60fc35c62b78748857fa811c877d44b663..cb2b159b962996a4aea072db110c25af2cfabcc1 100644 (file)
        # Commit headers.
        commit = cyan
 
        # 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
 [core]
        editor = vim
        # Global gitattributes file. Thanks to canton7 in #git on Freenode