[YLUG] gnome-terminal

Anthony Edwards anthony at yoyo.org
Sat May 1 21:25:22 UTC 2010


On Thu, Apr 29, 2010 at 11:01:25AM +0100, Patrick Dupre wrote:
> Hello,
>
> When I run gnome-terminal from an existing gnome-terminal, both files
> .bashrc and .brash_profile are executed.
> The problem is then that the environment variables are modified again
> and again (VAR1=$VAR:blablabla) and it is stupid.
> The option "run command as a login shell" does not seems to modify
> this behavior.
> IS there a way to have the .bashrc and .bash_profile (or only one of  
> them) runned only one time (when the gnome-session is started) and
> not every time that I make a gnome-terminal command ?

This article may help:

http://lcorg.blogspot.com/2010/01/bashrc-vs-bashprofile.html

-- 
Anthony Edwards
anthony at yoyo.org



More information about the York mailing list