Issues with setting or not setting HOME environment variable

David Karr davidmichaelkarr@gmail.com
Fri Mar 23 00:54:00 GMT 2018


I currently do not set the HOME environment variable.  I get the
impression you're not supposed to do that.  When I run a mintty shell,
it correctly puts me in "/home/<myuid>", which is what I want.

I'm running into a problem with Eclipse egit, as I think it's looking
for the "HOME" environment variable to determine where the .gitconfig
file is. If it doesn't find "HOME" set, I have a feeling it's looking
for "HOMEDRIVE", which is set to something I can't easily control.

Is there some way I can set "HOME" to my Windows home location, but
still have Cygwin do the right thing and go to "/home/<myuid>"?

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



More information about the Cygwin mailing list