Domanda

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

È stato utile?

Soluzione

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

git config --global color.ui auto

More info here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top