3
1
I am quite familiar with bash, but I would like to give a try to zsh
. Lot of people told me to try oh-my-zsh.
After the installation I get a unreadable prompt and when I eventually find an acceptable prompt it is just very slow. It takes about 300..1000ms for the prompt to display its content. How can I make it faster and how oh-my-zsh users can deal with that?
I've tried it on several platforms (Cygwin, VirtualBox Ubuntu, Debian) and each time I get this very slow behavior.
Can I get rid of it? Is it worth to use zsh despite its speed?
Is zsh only slow when you have the oh-my-zsh enabled? Have you tried zsh all by itself? I don't am not a zsh fan, but have used systems with it as the default shell, and it never seemed significantly slower than bash. I would bet you have some plugin that is doing something that is computationally expensive, or perhaps access the Internet. – Zoredache – 2015-11-25T23:53:59.337
2
Because git (
– 4ae1e1 – 2015-11-30T23:19:11.553vcs_info
) is slow, and many prompts query git status synchronously. Get an async prompt, e.g., pure: https://github.com/sindresorhus/pure.