Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 1998 17:20:50 +0000
From:      Jason Wells <jcwells@u.washington.edu>
To:        Feiyi Wang  <fwang2@cobblers.csc.ncsu.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: set path in X enviroment
Message-ID:  <3.0.3.32.19980118172050.007b4b10@jcwells.deskmail.washington.edu>
In-Reply-To: <Pine.BSF.3.96.980118133929.1787A-100000@cobblers.csc.ncsu. edu>

next in thread | previous in thread | raw e-mail | index | archive | help
At 13:45 1/18/98 -0500, Feiyi Wang wrote:
>
>hi, there
>
>I am running XDM as front end, when I login, it seems the .bash_profile in
>my home directory didn't not get executed. There is some enviroment
>information has been set, where are they come from? Where should I set up
>my PATH ?
>
>/oliver

You can do the following. 

cp ~/.bash_profile ~/.bashrc

The .bashrc file is read by bash under these circumstances. This way your
environments within an Xterm will be identical to your environment in
character mode. This will include your $PATH. Read 'man bash' for more
information.

Later,
Jason Wells



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.3.32.19980118172050.007b4b10>