This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin command line takes a long time to start

On Mon, Jul 26, 2010 at 08:12, Csaba Raduly wrote:
> On Fri, Jul 23, 2010 at 3:53 AM, David Antliff ?wrote:
>> How would one go about debugging the bash or mintty startup before
>> .bash_profile is read?
> Duplicate your shortcut which launches bash and add -x to the bash
> options (which should include -l a.k.a. --login)

Thanks everyone - using these tips I was able to determine that
bash_completion was actually running twice - once by
/etc/profile.d/, and again by my own .bash_profile,
which was modifying the path prior to invoking it so that apps in my
~/bin were picked up. I don't actually have anything useful in there
any more so it's really just a bunch of old stuff I brought over from
my Linux config.

I've tidied it up now. I now get the bash prompt after about 5
seconds, rather than 10. Disabling bash_completion completely gives me
a prompt in less than 1 second, but I do quite like bash_completion so
I'll live with that.

-- David.

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]