delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <3CBB1A6E.6050001@wanadoo.fr> |
Date: | Mon, 15 Apr 2002 20:22:38 +0200 |
From: | Marc Chantreux <chantreux DOT marc AT wanadoo DOT fr> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311 |
X-Accept-Language: | en-us, en |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: load user preferences ? |
References: | <4 DOT 3 DOT 1 DOT 2 DOT 20020415115921 DOT 0578b480 AT pop DOT ma DOT ultranet DOT com> <4 DOT 3 DOT 1 DOT 2 DOT 20020415132457 DOT 057b2f30 AT pop DOT ma DOT ultranet DOT com> |
> > >>the only problem noticed is that the $HOME is not set ... if you see my lines, you >>you can see that it's done. >> > > >I can see what's done? That HOME is set? You mean to >"/cygdrive/c/Documents and Settings/mc/_unix"? I believe you're asking for >a leap of faith on my part that isn't warranted based on the data you've >provided. > yes ... sorry ... i've forgot to say that i've done a 'cd' before. >To be honest, I'm still not real sure what your specific problem is. >I'm guessing that you want to know why .bashrc isn't sourced. Am I right? > yes > >That depends on how you invoke the shell. > you're right : i've found the answer in the bash man : i've just moved my .bashrc to .profile and it works fine now ! > Adding it to one of the script >files that get automatically sourced with "bash -l" (which is what is invoked >by cygwin.bat) will solve that problem. There's discussions in the email >archives about this. In particular, there were discussions about the fact >that /etc/profile doesn't source this file by default anymore and what the >alternatives are. You may want to review that discussion or even just look >at the bash man page and/or user guide to see what files are sourced when and >why. There are good recommendations in those documents that will resolve >your issue for you. > i've found the disscusions in the archive (using better keywords) >>BTW , i've seen that the /etc/passwd uses /home/$USER as $HOME. I've just tried : >> >>%HOME% = c:\_home\%USERNAME% >>and >>mount "c:\_home" /home >> >>failed too :( >> >Sorry. I don't follow your logic here. I can't see how noticing that >/etc/passwd uses /home/$USERNAME would suggest that you need to set your >HOME variable to c:\_home\<anything>. > /_home to have no more space in the PATH. mount c:\_home /home to make this corresponding to /etc/passwd > You're free to do so but why you >would want to or need to is beyond me. Ditto the mount. > just a try ... thanks a lot, hacker. Marc -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |