This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Issues with setting or not setting HOME environment variable
- From: David Karr <davidmichaelkarr at gmail dot com>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Thu, 22 Mar 2018 17:15:05 -0700
- Subject: Issues with setting or not setting HOME environment variable
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