Friday, July 25, 2008

gnome-terminal: set environment variables

The gnome-terminal does not automatically load the .bash_profile when it is opened. If you want to load .bash_profile you can click the gnome-terminal's menu "Edit--> Profiles..... --> Edit(Default Profile) --> Title and Command --> Run command as a login shell". So when gnome-terminal starts it will load .bash_profile. Of course you can set some environment variables in .bash_profile.

No comments: