bash: sometimes ~ and $HOME contain different values

Giorgos Tzampanakis
Tue Nov 2 08:14:00 GMT 2010

The final line of my .bashrc is:

export HOME=foo

where foo is a directory other than /home/myusername.

When I start bash, HOME and ~ contain the same value, foo. After I
have worked on bash for a while, launching programs (mainly slrn and
irssi), ~ will revert to /home/myusername while HOME stays at foo.

Why does this happen? Is it a bug?

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list