Isaac Good wrote: > I was running CygWin for a while and all was nice. > One day, I ran CygWin and it did not start me in the correct $HOME > directory. > Checking env, both $HOME and $HOMEPATH are wrong. How are those set? > > Manually setting the two in the cygwin.bat doesn't get it to run > %HOMEPATH%/.bashrc on login. > > Changing the chdir in the batch file fixes $HOME but not $HOMEPATH and > also doesn't get .bashrc to run. > > Tried `id -un` and checking etc/passwd. Looks right.
See '/etc/profile' for a description of where Cygwin looks to set HOME. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/