How to capture all the environment variables from shell?

Tim Chase python.list at tim.thechases.com
Mon Jul 26 22:42:24 EDT 2010


On 07/26/10 21:26, Steven W. Orr wrote:
> Please! Never export anything from your .bashrc unless you
> really know what you're doing. Almost all exports should be
> done in your .bash_profile

Could you elaborate on your reasoning why (or why-not)?  I've 
found that my .bash_profile doesn't get evaluated when I crank up 
another terminal window, while my bashrc does.  Thus I tend to 
put my exports in my ~/.bashrc so they actually take effect in my 
shell...

-tkc






More information about the Python-list mailing list