Optimized the zsh prompt for git and mercurial.