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 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)
e.g.
C:\cygwin17\bin\mintty.exe -h error /usr/bin/bash --login -x

If using cygwin.bat, add -x after
bash --login -i


-- 
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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