debugging - Slow load time of bash in cygwin -


It takes about 2 seconds to load the bass at the moment. I have run bash with the -x flag and I see the output and it seems that the path is being loaded several times in Saigwin. The funny thing is that I use the same file in the Linux environment I do it, but it works fine without having to reload the problem. The following reason may be the problem?

  if [`uname -o` =" Cygwin "]; Then .... fi    

As you noted in your answer, the problem SiGwin's Bash-Perfection package is quick and easy to disable, to disable bash-completion, and the correct way to do this is to run Setgui's setup.exe (if you need to) and uninstall that package Select to do

To work with the long solution file in /etc/bash_completion.d and disable the ones you do not need. To slow down Bash's load time (mailman, shadow, DSNIF and e-UFSprogs) on my system, the biggest culprits did not do anything at all, because they did not install the devices they were designed to fulfill. I went.

If you rename a .bak for extension, there is a file in /etc/bash_completion.d , by loading that script Will stop. Even after disabling 37 selected scripts on one of my systems, I have cut the average time of bash_completion to load 95% (6.5 seconds to 0.3 seconds).

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -