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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=UlK1s+jSeAR9S0oB XSUX8mjZiTesBQ4CYdloZlC6flQLsMPQ0M66gEp3JGLW2fqzPzuHJ+qmU/MNC+M3 qjI7r5kFWpKF9keRXVOSwXR6BTt9Ct5wXYTh8B7NDAkZM9CtfpoRL5uC2fgTgmTh l/bAUBjZzPfPySQAvaHU/rr2oWQ= 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=SBrhLYBWJciayzKI8pYqs1 0AZd0=; b=wf/EjhvkeW269TPNVK3K2Siql3uNONd9vnjPjD/MXMzALDaWwtYgpA rqesA0oYZ2UvFFsYhXVYWzP0hAb6EzrT1TXPJqzknDEcz4ThDxLnJbnFp37GR2kK NbDszH9ttqvGFjOC38fNIesQGgwRwn3rcJWYYk0I0X/UAz6sPJ6sc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*yandex.ru, H*RU:sk:forward, HX-HELO:sk:forward, Hx-spam-relays-external:sk:forward X-HELO: forward103j.mail.yandex.net Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Tue, 27 Mar 2018 12:59:44 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1121896961.20180327125944@yandex.ru> To: David Karr , cygwin AT cygwin DOT com Subject: Re: Issues with setting or not setting HOME environment variable In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, David Karr! > 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/", 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/"? It's not Cygwin, it's bash setting HOME when run as login shell. If you wish, you can force that setting in ~/.profile or otherwise manipulate the environment prior to starting mintty. I, for one, prefer my $HOME match my real profile home. Don't see the reason to spread my stuff thin across the filesystem. -- With best regards, Andrey Repin Tuesday, March 27, 2018 12:57:18 Sorry for my terrible english... -- 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