X-Spam-Check-By: sourceware.org Message-ID: <974f412a0610131652v53912083k450a56e2926be66d@mail.gmail.com> Date: Fri, 13 Oct 2006 19:52:15 -0400 From: "Tim Largy" To: cygwin AT cygwin DOT com Subject: Re: What happens the first time BASH is run? In-Reply-To: <974f412a0610131632r6fff91d8w7816d84b7108e08e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <974f412a0610131632r6fff91d8w7816d84b7108e08e AT mail DOT gmail DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On 10/13/06, Tim Largy wrote: > When running BASH for the first time after installing Cygwin, the > user's home directory is created, and .bashrc and other dotfiles are > copied into it. Where is this behavior controlled? Is it compiled into > BASH? If that is the case, what other scripts does BASH call upon to > set up the user's home directory? > > Tim > Answering my own question: the existence check for the home directory, as well as it's creation, takes place in /etc/profile. How I forgot this I do not know as I spotted it yesterday. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/