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: Changing the home directory ($HOME)


Phil Couling <couling@gmail.com> was heard to say:

I have cygwin pre installed on a pc I'm using.  I'd like to change the
home directory ($HOME) but I'm having some trouble finding where it's
been set.  Currently it points to a drive letter q: . I'd much prefer
to point it at /home/username.

/etc/profile says:


# Here is how HOME is set, in order of priority, when starting from Windows
# 1) From existing HOME in the Windows environment, translated to a Posix path
# 2) from /etc/passwd, if there is an entry with a non empty directory field
# 3) from HOMEDRIVE/HOMEPATH
# 4) / (root)


I've used #1.

HTH
Markus

--
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38



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