Frage

I've installed zsh on Mac OS X and zsh doesn't work the proper way.

Themes work fine, but the output of git is not colorized.

What could be wrong?

Here is the piece of my .zshrc:

plugins=(git)

export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin
source /usr/local/bin/virtualenvwrapper.sh

which git gives me this:

/usr/bin/git

War es hilfreich?

Lösung

Colorizing git output is configured through the ~/.gitconfig. Have you tried:

git config --global color.ui auto

More info here

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top