This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: How do I change the default home directory after I fire up cygwin?


Yves wrote:
> Ok, so I changed HOME in Environment variables to C:\cygwin\home\<user name>
> and when I do pwd, this is what happens:
> /cygdrive/c/cygwin/home/<user name>
> 
> Ok... it's not /home/<user name>, but it's progress :) .

Delete the HOME environment variable entirely.  That way Cygwin will use what's
set in /etc/passwd, ie /home/user.

-- 
Adam Dinwoodie

Messages posted to this list are made in a personal capacity.



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]