X-Spam-Check-By: sourceware.org Message-ID: <46590834.4020501@cygwin.com> Date: Sun, 27 May 2007 00:25:24 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070308 Fedora/1.5.0.10-2.fc4.remi Thunderbird/1.5.0.10 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Setting $HOME ? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/