Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Powerline9k theme causes slow command execution in Babun (Cygwin) on Windows 10 #314
When using the Powerlevel9k theme in Babun, commands take anywhere from 1-3 seconds for the carriage return to process (I might call it a short hang). For example, consider the following:
After hitting RET to process the command, it will hang for the short time described above before listing the contents of the directory. And additionally, once the command completes, there is another hang before the prompt comes back for further command input. In case this is confusing, here's a shorter version:
I don't have this problem when using other themes, though unfortunately this is my favorite zsh theme lol. This might not seem like a big deal but this can add up to six seconds of execution time per command which gets annoying after a while, esp. when working with several short lived commands (e.g. ls, mkdir, rm, pwd, etc).
Not sure if it's worth reopening, but I'm facing this right now on cygwin (not using it by choice). Running zsh with PowerLevel is unusably slow (about 4 seconds). Im running the tag v0.6.5
I ran it with verbose symbols and I see that with every command a considerable large amount of queries is run even with few segments:
gives the following:
Using any other random ZSH theme yields to a shorter verbose and, consequently, faster response. (not enough nearly as fast as what I'd get in a Linux machine,, as it is still longer than one second, but one can notice the difference) .
My .zshrc is as follows (posting only the uncommented lines):