delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/01/15:29:35

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
Date: Wed, 1 Sep 2004 15:29:21 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Tom Plane <tom AT tomplane DOT com>
cc: "'J. David Boyd'" <dave AT adboyd DOT com>, cygwin AT cygwin DOT com
Subject: RE: change opening path
In-Reply-To: <000101c49057$9546b4d0$6f05a8c0@seeall>
Message-ID: <Pine.GSO.4.61.0409011526090.5041@slinky.cs.nyu.edu>
References: <000101c49057$9546b4d0$6f05a8c0 AT seeall>
MIME-Version: 1.0
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
<http://cygwin.com/packages/> (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" <tom AT XXXXXXXX DOT XXX> writes:

To both you and Dave: <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.

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

- Raw text -


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