[IPython-User] configuring prompts for custom substitutions

Thomas Kluyver takowl@gmail....
Fri Aug 24 03:07:54 CDT 2012


On 23 August 2012 23:15, Skipper Seabold <jsseabold@gmail.com> wrote:
> Cool. Works like a charm, my ipython config now to give my git branch in the
> ipython terminal

Glad it works. Note that, rather than putting it all into exec lines,
you can write it in a regular .py script, and save it in
$IPYTHONDIR/profile_default/startup/ . All files in there are run like
exec_lines, but it will be better organised if you build up lots of
these little tricks.

Thomas


More information about the IPython-User mailing list