HOME
variable containing /home
path.
Cygwin establishes a HOME
environment variable containing
a path that is unresolvable in native Windows applications.
This path is passed down and may confuse some programs; particularly
programs ported to Windows from Unix which use the HOME
variable if it is present.
A notable example of this is the Windows
native version of Vim. When Vim is spawned from Cygwin, it tries to
look for the _vimrc
file in the directory indicated by
HOME
, and also store _viminfo
there.
The user is met with error messages.
On Cygnal, we want HOME
either not to be established
or else to have the same contents as USERPROFILE
.
d00eca5a10a69be3ccabf0e165de98ab19ef25b2