delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/25/17:24:37

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040325171619.02865d70@pop.rcn.com>
X-Sender:
Date: Thu, 25 Mar 2004 17:20:56 -0500
To: <ken DOT thompson AT gtri DOT gatech DOT edu>, "Cygwin List" <cygwin AT cygwin DOT com>,
"Ralf G. R. Bergs" <rabe AT RWTH-Aachen DOT DE>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: RE: bash incorrectly determines HOME and HOMEDRIVE
In-Reply-To: <DFEHICGKJPBGEDPLIGKICENEFBAA.ken.thompson@gtri.gatech.edu>
References: <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040325165912 DOT 02866ad0 AT pop DOT rcn DOT com> <DFEHICGKJPBGEDPLIGKICENEFBAA DOT ken DOT thompson AT gtri DOT gatech DOT edu>
Mime-Version: 1.0

At 05:14 PM 3/25/2004, you wrote:



>> -----Original Message-----
>>  Larry Hall
>> Sent: Thursday, March 25, 2004 5:04 PM
>>
>>> Subject: Re: bash incorrectly determines HOME and HOMEDRIVE
>>
>>
>> Larry Hall WroteK
>>
>> HOMEDRIVE is set by Windows.  You don't have to set it.  And bash wouldn't
>> know HOMEDRIVE from a hole in the wall. ;-)
>>
>That is what I thought but I can definitely reproduce this behaviour on XP.
>I set HOMEDRIVE in H: in windows and then run bash and its reset to C:.
>Definitely strange. Not that I really care since I don't use it for
>anything.  BTW, It is possible to change it in the ".bashrc" file


Don't set it at all and set what it looks like in cmd.exe.  You'll see it's
set and will be C: too.  

You can set any environment variable to anything you want in .bashrc.
Have at it! ;-)



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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