This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: change opening path
- From: "Tom Plane" <tom at tomplane dot com>
- To: "'J. David Boyd'" <dave at adboyd dot com>, <cygwin at cygwin dot com>
- Date: Wed, 1 Sep 2004 12:12:00 -0700
- Subject: RE: change opening path
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@adboyd.com]
Sent: Wednesday, September 01, 2004 10:48 AM
To: Tom Plane
Subject: Re: change opening path
"Tom Plane" <tom@tomplane.com> writes:
> 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
--
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/