There doesn’t appear to be an official way to support this, but it can be easily done by editing the source file in your installation. Go to your site packages directory and
Make a backup of that file, then replace the line with what you’d like the prompt to be, including standard color codes. This will make the prompt green, for example:
There doesn’t appear to be an official way to support this, but it can be easily done by editing the source file in your installation. Go to your site packages directory and
You’ll see something like this:
Make a backup of that file, then replace the line with what you’d like the prompt to be, including standard color codes. This will make the prompt green, for example:
There are many places where you can look up more codes for more customization, e.g. http://www.linuxhowtos.org/Tips%20and%20Tricks/ansi_escape_sequences.htm.
Of course, you will have to repeat these steps with any iPython update.