bash: sometimes ~ and $HOME contain different values

Giorgos Tzampanakis Giorgos.Tzampanakis@gmail.com
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:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list