This is the mail archive of the
mailing list for the Cygwin project.
Re: What happens the first time BASH is run?
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?
Hard coding that into bash would be needlessly complex and a maintenance
nightmare. Instead /etc/profile just copies them from /etc/skel if they
You probably also ought to the section of "man bash" titled INVOCATION.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html