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?