This is the mail archive of the
mailing list for the Cygwin project.
RE: change opening path
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Tom Plane <tom at tomplane dot com>
- Cc: "'J. David Boyd'" <dave at adboyd dot com>, cygwin at cygwin dot com
- Date: Wed, 1 Sep 2004 15:29:21 -0400 (EDT)
- Subject: RE: change opening path
- References: <000101c49057$9546b4d0$6f05a8c0@seeall>
- Reply-to: cygwin at cygwin dot com
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").
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.
> -----Original Message-----
> From: J. David Boyd [mailto:dave@XXXXXX.XXX]
> Sent: Wednesday, September 01, 2004 10:48 AM
> To: Tom Plane
> Subject: Re: change opening path
> "Tom Plane" <tom@XXXXXXXX.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
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.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