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 X-Mailer: The Bat! (v6.8.8) Home X-Priority: 3 (Normal) Message-ID: <108053324.20200326220234@yandex.ru> To: David Karr , cygwin AT cygwin DOT com Subject: Re: Why didn't a Cygwin install create the default dot files? In-Reply-To: References: 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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