setting cygwin PATH
Mon Apr 30 18:01:00 GMT 2007
On Mon, April 30, 2007 6:53 pm, Fungazid wrote:
> --- John Morrison <email@example.com> wrote:
>> On Mon, April 30, 2007 6:24 pm, Fungazid wrote:
>> > Hello to you the cygwin people,
>> > I'm working with cygwin.
>> > I added a directory "/home/T-COFFEE/bin/" to PATH
>> > export PATH=/home/T-COFFEE/bin:`printenv PATH`
>> $PATH is easier than the `printenv PATH` bit :)
>> > I typed it in the cygwin command line. after that
>> > 'printenv PATH' showed the new directory. But the
>> > directory remained only temporarily (it
>> > after closing cygwin).
>> > How do I change it permanently ? (I tried to copy
>> > .bashrc to my HOME directory, and messed up with
>> echo 'export PATH=/home/T-COFFEE/bin:$PATH' >>
> Hello John ;),
> I did the same thing with xemacs. The problem is that
> it is not enough if I want the path to stay
> permanently. How do cygwin knows to look at this file
> (".bashrc") in the HOME directory ?
(Just a netiquette point, bottom posting is expected on the cygwin lists
and responses are best kept there :) )
.bashrc is run because, for a login shell, .bash_profile tells it to be.
How are you starting cygwin? It should be enough for it to happen
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin