Ever tried to configure Zsh? Then you probably found yourself lost and confused after looking at all those man pages, examples and google results. So let me confuse you a little bit more. That is if you want to have SCM/VCS info embedded in your prompt and colors and configurability. If you are using Git, Mercurial, Bazaar or the like or even Subversion or, god beware, CVS you most likely want to know where you are now in your repository. Good old pwd might not be enough for that and the old prompt [foo@bar:~/src/project]% does not help either. What you need is a prompt that displays everything your old prompt did as well as the current branch you’re working on, the action that is currently done to your repository (e.g. rebase) and optionally if there are staged or unstaged changes in your working tree. Let me tell you how I did all this.
