python installations from my shell. For instance, going from the OSX
python 2.6 installation to python 3.1:
- (System Python 2.6) sevas at ysgard in ~
Setting environment for MacPython 3.1
- (MacPython 3.1) sevas at ysgard in ~
Python 3.1.3 (r313:86882M, Nov 30 2010, 09:55:56)
[GCC 4.0.1 (Apple Inc. build 5494)] on darwin
And then, I could switch to the new python 3.2 you just got from [python.org](http://www.python.org/download/):
(MacPython 3.1) sevas at ysgard in ~
Setting environment for MacPython 3.2
- (MacPython 3.2) sevas at ysgard in ~
Python 3.2 (r32:88452, Feb 20 2011, 11:12:31)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
$ update_python_switchers.py --use-fancy-prompt
you will get my carefully crafted prompt with fancy colors.
+![Alt Text](http://dl.dropbox.com/u/260262/blog/2011-06-14/fancy_prompt.png )
You will find the color variables in my
-If you have a custom prompt, just go ahead and edit the function
+If you have a custom prompt, just go ahead and edit the function
generation template in ``update_python_switchers.py`` to your liking.
And if you don't like it, well, it's pretty easy to remove anyway.