Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 1 Sep 2004 15:29:21 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Tom Plane cc: "'J. David Boyd'" , cygwin AT cygwin DOT com Subject: RE: change opening path In-Reply-To: <000101c49057$9546b4d0$6f05a8c0@seeall> Message-ID: References: <000101c49057$9546b4d0$6f05a8c0 AT seeall> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 If you're the only one using Cygwin on your machine, try echo "cd /cygdrive/c" >> /etc/profile and then restart the Cygwin shell. In the future, when you need to find out which package contains a particular program, use the Cygwin package search page at (it helps to prepend "bin/" to program names, especially short ones like "vi"). Igor On Wed, 1 Sep 2004, Tom Plane wrote: > Thanks Dave. > > I tried this and got an error. > > bash: vi: command not found > > I did a default install. > > A little more help please. > > Tom > > -----Original Message----- > From: J. David Boyd [mailto:dave AT XXXXXX DOT XXX] > Sent: Wednesday, September 01, 2004 10:48 AM > To: Tom Plane > Subject: Re: change opening path > > "Tom Plane" writes: To both you and Dave: . > > I would love to try this but I don't know how to add the cd command to > > > the end of /etc/profile. Can you explain the steps to me? > > open a command prompt (bash) > > type: cd /etc > type: vi profile > press: 'G' to go the end > press: 'A' to go to the end of the current line in insert mode > press: enter to open a new line > type: cd *path_to_wherever* > type: :wq > > restart cygwin > > Dave -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing." -- Dr. Jubal Harshaw -- 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/