This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How do I change the default home directory after I fire up cygwin?
- From: Andrey Repin <anrdaemon at freemail dot ru>
- To: Yves <yoursurrogategod at gmail dot com>, cygwin at cygwin dot com
- Date: Tue, 22 Jan 2013 20:31:54 +0400
- Subject: Re: How do I change the default home directory after I fire up cygwin?
- References: <1358869942988-95558.post@n5.nabble.com>
- Reply-to: Andrey Repin <cygwin at cygwin dot com>
Greetings, Yves!
> I start up cygwin and do pwd, and this is my home directory.
> $ pwd
> /cygdrive/h
> But, I don't want it to be in /cygdrive/h. So, what gives? I've run the
> mkpasswd command like so (while in my /home/<my name> directory):
> mkpasswd -l -p "$(cygpath -H)" > /etc/passwd
> At that point, I close my cygwin window and open it again... and same thing
> when I run pwd. How do I make cygwin think and start in /home/<my name>?
> I've even mucked with the /etc/passwd for my user account and STILL no
> result.
> Very confused...
Check the contents of your $HOME variable.
--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 22.01.2013, <20:31>
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple