This is the mail archive of the
mailing list for the Cygwin project.
win32 dia and HOME=/usr/bin/%USERPROFILE% fix
- From: Brian Koehmstedt <bpk at hungry dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 16 Jun 2003 12:59:48 -0700
- Subject: win32 dia and HOME=/usr/bin/%USERPROFILE% fix
I had the problem of bash starting up with the home directory being
I searched the mailing list and came up with a January thread on the issue,
which informed me that the problem was due to the win32 dia installer
creating a Windows environment HOME variable that superceded bash's normal
(the start of the Jan thread is at
In that thread I saw some suggestions on editing /etc/profile to fix it, but
I found this to be an easier all-around solution:
Edit the cygwin.bat file and put "set HOME=" somewhere in it. This unsets
the Windows HOME environment variable and Cygwin/bash starts up with the
correct HOME environment variable.
I use startxwin.sh to start up X, but if you use startxwin.bat then you
probably have to edit that file too since it's another Windows batch file
that starts up bash shells.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html