I'm gonna guess it might be 20.
that broke my machine parsing. It now ignores the -b option. Switched to git status -sb .
I have no idea why I have all those log aliases, since the only one I ever use is lol.
removed unnecessary variables & shortened condition detection. Also, require only the modules we need when we need them. Not helping the speed problem, though.
One git command suffices for gathering all the information we need. Use the --porcelain option for status, which exists to support tools like this. Also pass -b to snag the branch and ahead/behind status. We now get git info with one exec. Sadly, we're still perceptibly slower than the python original. I suspect it's startup, but I'll have to verify that.
…nts are shown. And improve the truncation a bit.
--shell [zsh|bash] which shell to emit color escapes for; defaults to zsh --cwd-only use only the current working directory in the prompt; defaults to false --mode [patched|compatible] which font mode to expect; defaults to patched Any further arguments are presumed to be $? aka the error returned by the previous command.
Doesn't handle having the shell passed in or last error state. (Defaults to zsh). No mercurial support yet. svn support has a bug that I suspect is in the original python version.