This is the mail archive of the
mailing list for the Cygwin project.
Re: What happens the first time BASH is run?
On 10/13/06, Tim Largy <email@example.com> 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?
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