delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/27/00:25:49

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-list-only-lh AT cygwin DOT com>
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: <ca5781c80705262035q7539b149pe552e29a74773a9e AT mail DOT gmail DOT com>
In-Reply-To: <ca5781c80705262035q7539b149pe552e29a74773a9e@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019