delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/30/14:35:58

X-Spam-Check-By: sourceware.org
Date: Mon, 30 Apr 2007 14:35:36 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Fungazid <fungazid AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: setting cygwin PATH
In-Reply-To: <757912.72511.qm@web52010.mail.re2.yahoo.com>
Message-ID: <Pine.GSO.4.63.0704301408270.4176@access1.cims.nyu.edu>
References: <757912 DOT 72511 DOT qm AT web52010 DOT mail DOT re2 DOT yahoo DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Ugh, top-posting...  Reformatted.

On Mon, 30 Apr 2007, Fungazid wrote:

> --- John Morrison <john<at>morrison<dot>mine<dot>nu> wrote:

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.

> > 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
>
> 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 ?

Cygwin doesn't.  Bash does.  See the "INVOCATION" section of the bash man
page.  This is in no way Cygwin-specific.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019