delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/25/09:30:38

From: ralf AT wamba DOT central DOT de (Ralf Meyer)
Subject: Re: Newbie questions....
25 Mar 1998 09:30:38 -0800 :
Message-ID: <m0yGsTy-000iFWC.cygnus.gnu-win32@uranus.central.de>
References: <09DB74475204D1119C8200805F19D00301474E20 AT aeromsg1 DOT ball DOT com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

> From:          "Nagle, Adrian" <anagle AT ball DOT com>

> However, some questions.  I've tried to find the information on the
> web, but haven't been successful.  How does bash work in CYGWIN-32? 
> I can't figure out how to set the $HOME variable.  I have my
> .bash_profile and bashrc in my home directory to configure my
> environment, but executing the cygnus.bat file (to start bash) will
> not source those files and it puts me in the desktop directory.  How
> do I configure bash so that it sources my config files?

Just add something like this to cygnus.bat:
---
set USER=%USERNAME%
set HOME=/home/%USER%
---
I mounted a subdir of my liking to /home:
i.e. 
	mount d:/users /home
-- 
bye
     ranf
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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