$PATH

janne jan.moren at lucs.lu.se
Fri Dec 3 01:52:08 UTC 2004


tor 2004-12-02 klockan 20:00 -0500 skrev Nathan Sprangers:
> Jan Morén wrote:
> 
> >tor 2004-12-02 klockan 19:18 -0500 skrev Romeo Theriault:
> >  
> I stick it in ~/.gnomerc, which is arguably wrong, but the only place
> >I've gotten it to work for graphical logins.
> >
> >I think you want to put it into ~/.bash_profile as well, or it won't be
> >available on the console.
> >
> True, .bash_profile will work as well, but just so I don't cause 
> confusion, since .bashrc is imported into that file anyway either should 
> work.

The downside in general is that .bashrc is parsed every time you
directly or indirectly open a new shell, so depending on your work
habits, you may get the same path component several times in your PATH.
Not critical for this particular case, but something to keep in mind for
stuff you want to be done once and once only (or that are very slow).


-- 
Trust the Computer. The Computer is your friend.
 
Tel. (Japan) 090-3622 8920            Dr. Jan Morén (mr)
                                      Dept. of Cognitive Science
http://lucs.lu.se/people/jan.moren    Lund, Sweden





More information about the ubuntu-users mailing list