delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/01/10:41:12

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
User-Agent: Microsoft-Entourage/9.0.2509
Date: Mon, 01 Oct 2001 07:36:41 -0700
Subject: Home variable question
From: Jordan Halsey <jhalsey AT wt DOT net>
To: cgwin_list <mailto:cygwin AT sources DOT redhat DOT com>
Message-ID: <B7DDCD89.89B2%jhalsey@wt.net>
In-Reply-To: <B7D9DFEC.8887%jhalsey@wt.net>
Mime-version: 1.0

------ Forwarded Message
From: Jordan Halsey <jhalsey AT wt DOT net>
Date: Fri, 28 Sep 2001 08:06:05 -0700
To: <tag AT ibis DOT odessa DOT ua>
Subject: Home variable question

As someone suggested I set my home home variable to

HOME=C:/cygwin/home/$USER

Which allowed the shell to address the individual user but also created a
folder called $USER in my c:/cygwin/home directory where it expected to find
my .bash_profile which instead resides in the individual users dir. The end
result is that bash doesn't read in any of my settings or aliases unless I
move my .bash_profile into ~/$USER allowing me only one .bash_profile. So my
question is how can I set my HOME variable so that bash will know what user
is logged on and also source the correct .bash_profile? Is it possible that
I could put something like username.bash_profile into the folder $USER and
store all profiles here?

Sorry if this is basic but I am just getting the hang of this.


-- 
Jordan Halsey
maya|shake|prman|eias|formZ|ae
Parallax Visuals
http://www.parallaxvisuals.com

------ End of Forwarded Message


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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