From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::101]) by sourceware.org (Postfix) with ESMTPS id 00380385E00D for ; Thu, 26 Mar 2020 19:05:03 +0000 (GMT) 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@yandex.ru Received: from forward101q.mail.yandex.net (forward101q.mail.yandex.net [IPv6:2a02:6b8:c0e:4b:0:640:4012:bb98]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 9F26B1BE12B6; Thu, 26 Mar 2020 22:05:01 +0300 (MSK) Received: from mxback9q.mail.yandex.net (mxback9q.mail.yandex.net [IPv6:2a02:6b8:c0e:6b:0:640:b813:52e4]) by forward101q.mail.yandex.net (Yandex) with ESMTP id 978B4CF4000B; Thu, 26 Mar 2020 22:05:01 +0300 (MSK) Received: from vla5-e763f15c6769.qloud-c.yandex.net (vla5-e763f15c6769.qloud-c.yandex.net [2a02:6b8:c18:340b:0:640:e763:f15c]) by mxback9q.mail.yandex.net (mxback/Yandex) with ESMTP id UjXEz1fWuS-51UeTTgu; Thu, 26 Mar 2020 22:05:01 +0300 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 Received: by vla5-e763f15c6769.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id fv33bTawdu-50bKbbSG; Thu, 26 Mar 2020 22:05:00 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 26 Mar 2020 19:02:34 -0000 Date: Thu, 26 Mar 2020 22:02:34 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home Reply-To: cygwin@cygwin.com X-Priority: 3 (Normal) Message-ID: <108053324.20200326220234@yandex.ru> To: David Karr , cygwin@cygwin.com Subject: Re: Why didn't a Cygwin install create the default dot files? In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2020 19:05:06 -0000 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...