This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Home variable question



------ Forwarded Message
From: Jordan Halsey <jhalsey@wt.net>
Date: Fri, 28 Sep 2001 08:06:05 -0700
To: <tag@ibis.odessa.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]