[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PATH && .bash_profile q's



On Aug Wed 27 2003 17:22, Jule Slootbeek wrote:
> Hi i just installed j2sdk1.3.1 from www.penguinppc.org and when i
> wanted to add the path /usr/local/j2sdk1.3.1/bin to the PATH variable
> in /etc/profile i noticed after a reboot, that when i open a
> gnome-terminal or rxvt, and echo $PATH it does not include any of the
> changes i made in either /etc/profile or ~/.bash_profile in the last
> file i have CVSROOT=/var/lib/cvs and when i echo $CVSROOT i don't get
> anything, unless i ssh to localhost. How can i fix this that my PATH
> is read correctly on logon?

.bash_profile is executed when login through a TTY, .bashrc when opening
a shell through *term; so I suggest you add the export in the .bashrc so
your bash environment is right when opening a gnome-terminal.

> TIA,
NAA

-- 
J. Javier Maestro
<jjmaestro@computer.org>
http://rigel.homelinux.com



Reply to: