This is the mail archive of the
cygwin
mailing list for the Cygwin project.
bash: sometimes ~ and $HOME contain different values
- From: Giorgos Tzampanakis <Giorgos dot Tzampanakis at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 2 Nov 2010 08:14:18 +0000 (UTC)
- Subject: bash: sometimes ~ and $HOME contain different values
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