Let's clarify something here. ~ is always the same as $HOME. If you change $HOME - within bash - then ~ changes too:
$ HOME=/bogus/directory $ echo ~ /bogus/directory HOME starts out set to whatever's in /etc/passwd, but you can change it. For that reason, security-conscious programs like ssh ignore $HOME and go by what's in /etc/passwd (which, on a real Unix system, an unprivileged user can't change). So changing $HOME is asking for trouble, basically. -- Mark J. Reed <markjr...@gmail.com> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/