Search code examples
gitsyntaxsyntax-highlightingiterm2

Git syntax highlighting in iTerm 2


I've just tried to highlight syntax in iTerm 2, but getting no result. I tried config git (Enabling Git syntax highlighting for Mac's terminal), played with iTerm profiles but can't reach at result.

Actually, I have Colbat2 theme from this set: https://github.com/mbadolato/iTerm2-Color-Schemes and my shell looks like this:

and I want it to look like this (but with my color profile):

Can I do this?


UPDATE

it only works for git status


Solution

  • @irakli helped me to do this with oh-my-zsh.

    Thanks