setting cygwin PATH

Fungazid fungazid@yahoo.com
Mon Apr 30 17:58:00 GMT 2007


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 ?

Avi

--- John Morrison <john@morrison.mine.nu> 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
> by:
> >
> > 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
> new
> > directory remained only temporarily (it
> disappeared
> > after closing cygwin).
> >
> > How do I change it permanently ? (I tried to copy
> the
> > .bashrc to my HOME directory, and messed up with
> it)
> 
> echo 'export PATH=/home/T-COFFEE/bin:$PATH' >>
> .bashrc
> 
> J.
> 
> 
> --
> Unsubscribe info:     
> http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:      
> http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list