So I have my gitconfig setup to do colors. In Terminal it works great, looks fine.
In iTerm2, however, the colors don't appear for my gitconfig at all unless I set the reverse property for git. Then they appear but who likes reversed colors anyways?
Why does this happen and how can I fix it?
Clicking on any of the color wells opens a color picker that lets you change the setting for the selected color. iTerm2 has a custom color picker. If you don't like it you can revert to the system color picker by clicking the rectangular icon to the right of the eyedropper.
You should check that iTerm is setting the TERM variable correctly. On my system, I see:
echo $TERM xterm-256color
And have working colours in git. This is set according to the 'Report Terminal Type' property in iTerm's preferences.
You should also check the Colors tab, and ensure the contrast slider isn't all the way to the right.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With