[IPython-User] IPython as system shell: showing the git branch in the prompt?
Ville M. Vainio
Sun Sep 5 11:53:45 CDT 2010
2010/9/5 Daniel González Gasull <email@example.com>:
> I'm trying to make the IPython prompt display the current git branch.
There used to be "generate_prompt" hook, but I don't know whether it's
still in effect.
As an alternative, you could display the git branch from
pre_prompt_hook in a line above prompt.
Ville M. Vainio @@ Forum Nokia
More information about the IPython-User