Bespoke App development for the Web and Devices

Editing .bash_profile


11.01.09 Posted in osx, python by admin

I came across a very useful blog post here about customising the bash shell by editing .bash_profile in nano, a terminal editor for Unix systems that comes with OSX.

In my previous post I talked about using a second Python install on my Macbook and being able to start it in interactive mode on the terminal by modifying the PATH variable.  Without doing this, the original Python install would be the one being targeted.  Well, instead of having to type this line every time I open the Terminal window, I just had to add it to .bash_profile and now every terminal session receives this setting.

editing .bash_profile with nano

Post to Twitter



Leave a Reply

You must be logged in to post a comment.

Twitter Updates
Mobile site
QR Code - scan to visit our mobile site