Browse Source

git: color diff auto

Fabian Peter Hammerle 9 years ago
parent
commit
c16e8d6134
1 changed files with 1 additions and 0 deletions
  1. 1 0
      setup

+ 1 - 0
setup

@@ -17,6 +17,7 @@ fi
 # diff
 git config --global diff.tool vimdiff
 git config --global difftool.vimdiff.cmd 'vim -R -f -d -c "wincmd l" -c '\''cd "$GIT_PREFIX"'\'' -c "set noro" "$LOCAL" "$REMOTE"'
+git config --global color.diff auto
 
 # aliases
 git config --global alias.branches "branch --all"