Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <bcbc1a860410062019682e42a@mail.gmail.com> Date: Thu, 7 Oct 2004 11:19:32 +0800 From: "Edward L. Fox" <edyfox AT gmail DOT com> Reply-To: "Edward L. Fox" <edyfox AT gmail DOT com> To: cygwin AT cygwin DOT com Subject: Re: How to prepend a directory to the PATH to accommodate CVSNT? In-Reply-To: <200410061118562.SM01236@fasolt> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041005233824 DOT A55B584C3C AT pessard DOT research DOT canon DOT com DOT au> <200410061118562 DOT SM01236 AT fasolt> X-IsSubscribed: yes Just Do It! On Wed, 6 Oct 2004 11:18:31 -0600, Siegfried Heintze <siegfried AT heintze DOT com> wrote: > I looked in c:\Cygwin\home\Administrator and could not find a .profile file > using emacs. There was a .bash_profile file. Should I create a .profile > file? > Thanks, > Siegfried > > > > -----Original Message----- > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of > luke DOT kendall AT cisra DOT canon DOT com DOT au > Sent: Tuesday, October 05, 2004 5:38 PM > To: Siegfried Heintze > Cc: cygwin AT cygwin DOT com > Subject: RE: How to prepend a directory to the PATH to accommodate CVSNT? > > On 5 Oct, Siegfried Heintze wrote: > > >Anyway, in your case it should be as simple as this: > > > > > >PATH="/cygdrive/c/Program Files/cvsnt/bin:$PATH" > > > > > > > Where do I put this statement? .bashrc? > > You could, but why not put it in ~/.profile so it's read just once by > the login shell, and any child shells then have it in the environment, > instead of having to do it themselves? > > FRom memory, bash will look for ~/.bash_login, ~/.profile, ~/.login, > (not sure if it's in that order), and use the first one it finds. > > But it won't do this if $HOME was created by Cygwin "mkdir" instead of > by Windows Explorer, due to some mysterious access permissions problem. > > BTW, I use .profile because it's usable regardless of what (Bourne-like) > shell you use. > > luke > > -- > 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/ > > > > > -- > 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/ > > -- 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/