delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/26/23:36:19

X-Spam-Check-By: sourceware.org
Message-ID: <ca5781c80705262035q7539b149pe552e29a74773a9e@mail.gmail.com>
Date: Sat, 26 May 2007 23:35:57 -0400
From: "Isaac Good" <isaac AT rentmagic DOT ca>
To: cygwin AT cygwin DOT com
Subject: Setting $HOME ?
MIME-Version: 1.0
X-Google-Sender-Auth: 0b914842d3ea4158
X-IsSubscribed: yes
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

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.

Any ideas?
Thanks!

--
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