delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/08/13:12:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
From: Michael <scnightsky AT gmail DOT com>
Subject: setting $HOME variable
Date: Mon, 8 Nov 2004 16:55:36 +0000 (UTC)
Lines: 14
Message-ID: <loom.20041108T174554-117@post.gmane.org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: main.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 198.202.229.173 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705))
X-IsSubscribed: yes

Ive been trying to set the home variable.

i want home to be c:\cygwin\home\

ive tried setting this in the .bat files  and in .bashrc  but it doesnt work.  
If i type echo $HOME i get this

/cygdrive/c/Documents and Settings/UserName

Ive read that its in /etc/passwd where it actually looks for the home 
directory, but what do you chage?  How can i set it so when i start the bash 
its starts in the right directory?

Any help will be appreciated!


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