delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/22/20:15:45

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=eFhBcVXBs7o4tAlWqZOjoDsb+jkvw
cmcZnFl10O7UwFYmxXf3RujoTUKGdSMQfx1v3mOfFOkLGGrvzu+RWaRU9f10vxG8
nMZWBsKyoLmbDcCddzT0Oz73+PQKrhflC4gfaP9UU79SQdUi5RWVUHq0+HlxM4ZU
Pa1DtGH+oEsikg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=3ZmyaqUjQVBRtXhL4T8CkB9tD3s=; b=kQz
HC1MspcO/69+dZiJRmYfJyi3jKF6qZIu6vYY0SmtGzvyYur16raeqc5NNizllmOz
J6qQ42DTtFnvmAnQOBNR5z2S7GgUftZr6G0Z8nsANQy12vAaaqEUfsAltirJyAdN
N44kXv06VQoKoicZPlbbqQ+0XWwio4IvaT1VPjI0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=impression
X-HELO: mail-wm0-f43.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=kKFjUvV00ooYQ9CI2jVaU+HlohMMBKUb2vvvjKebYk4=; b=SEg1c1hB46qD54m7rZYwamar37BN03CmcHyb8b6XKC5NsnLcPZWADikHfSkkAzxNMs iVfTHYi07kP7NjQnsCbPMq3xDIG7NjaGBJYDSzL3L1UKUFMkHntPjWEwTuSPfTpxjTYg 2+6Hm0PTf/Z4jPaiNyc0ip76YpQGS5yqh9iDlxfOlGTTtbQ4ryrxxkWYdO83H948puLA TnNnX/SEmVHFCOxvMoqMpQa+l/c4GNPwMZ7Z28jVUjQ459KuShAT9WqOqrnAsIcFi7y5 IEeEKqJ2aB+5ov44tUk1TftSHpT0Z6edJjG9+kjD/XqvRg3UsZ9KLE5fEmAEtuIsa2R6 cAxw==
X-Gm-Message-State: AElRT7FA5MlIDRVVgFTIVEkwH0aQV1dAtWMjjNqfEcIlvoGlF1ASWaFF PO1FIeCMRbHsxLbLh2R9PJwB2uCN7GlZh1+6CAM=
X-Google-Smtp-Source: AG47ELuMaYOUpFW8gtjNP+RH/CgiD67bUM44iALJ+TNBCrySisKtYcUhY9NczoQZK8WBTQBYkd9wwUyv4FKA3ZDABlM=
X-Received: by 10.80.191.4 with SMTP id f4mr27338905edk.224.1521764106100; Thu, 22 Mar 2018 17:15:06 -0700 (PDT)
MIME-Version: 1.0
From: David Karr <davidmichaelkarr AT gmail DOT com>
Date: Thu, 22 Mar 2018 17:15:05 -0700
Message-ID: <CAA5t8Vpxhn9Mf+ACxEJ57AdS4mk7J9gDWv21hOSOUxT7h-Yqxw@mail.gmail.com>
Subject: Issues with setting or not setting HOME environment variable
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

I currently do not set the HOME environment variable.  I get the
impression you're not supposed to do that.  When I run a mintty shell,
it correctly puts me in "/home/<myuid>", which is what I want.

I'm running into a problem with Eclipse egit, as I think it's looking
for the "HOME" environment variable to determine where the .gitconfig
file is. If it doesn't find "HOME" set, I have a feeling it's looking
for "HOMEDRIVE", which is set to something I can't easily control.

Is there some way I can set "HOME" to my Windows home location, but
still have Cygwin do the right thing and go to "/home/<myuid>"?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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