delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/26/15:06:46

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 00380385E00D
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1585249501; bh=xWoa2UxAccZCN9jGyHKqPhUWDK4aJTsQLfC/i/q1aYM=;
h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date;
b=ltxAU+GxYCDJvrcO4ua2i0S6aiYt70muwJS9Knrocex27k9DreM+BrI0xfBbfrJxv
uZ44gbeZg4PhWlSevIMC4UODox0ZWG4G6CowBGTen/f1RddOt4Lerk0OokmTFe+vA8
wKE8f51NvocKmmN40FnHxVNMyOQNTZzTQy0Sbs64=
Authentication-Results: mxback9q.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Thu, 26 Mar 2020 22:02:34 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <108053324.20200326220234@yandex.ru>
To: David Karr <davidmichaelkarr AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Why didn't a Cygwin install create the default dot files?
In-Reply-To: <CAA5t8VoMSsROHz0wpundCFetq3K6MPcVcVE6_sZ0UYWTUTQDvQ@mail.gmail.com>
References: <CAA5t8VoMSsROHz0wpundCFetq3K6MPcVcVE6_sZ0UYWTUTQDvQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <http://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Greetings, David Karr!

> I've been using Cygwin for a long time. I haven't run a fresh install for
> quite a while.

> A colleague just installed Cygwin for the first time, following my basic
> instructions. He ended up with his Cygwin home being the same as his
> Windows home, which is different from my setup, but I think that's fine.

This suggests something in the environment. Possibly your colleague have
%HOME% defined. Cygwin will pick it up.

> What seems odd is that he didn't get the default dot files created, being
> .profile, .bash_profile, and .bashrc.

> I don't even remember whether this happened the first time I set it up.  In
> any case, I handed him my dot files to template from, but I was curious
> about that process.

These are only copied to profile, when a new profile directory is created.
I.e. if there's no HOME env. var set and Cygwin is with default nsswitch
configuration.

You can find Cygwin default profile in the usual place. /etc/skel, that is.


-- 
With best regards,
Andrey Repin
Thursday, March 26, 2020 21:56:38

Sorry for my terrible english...

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

- Raw text -


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