cygwin: ~ != $HOME
Posted
by
user443854
on Super User
See other posts from Super User
or by user443854
Published on 2012-04-03T18:18:47Z
Indexed on
2012/04/03
23:33 UTC
Read the original article
Hit count: 164
When I start cygwin, my ~ dir is the same as $HOME. After some time, ~ dir changs, while $HOME stays the same. I am puzzled by this, not sure where to look. Maybe someone experienced this, or has some clue what's going on? When I start:
winuser@mybox ~
$ echo $HOME
/cygdrive/c/cyguser
winuser@mybox ~
$ echo ~
/cygdrive/c/cyguser
Later, ~ changes to /cygdrive/c/winuser, which is non-existent. When I restart cygwin, everything is back to normal. What could be causing this?
© Super User or respective owner