Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have these plugins: git, zsh-autosuggestions

    /usr/bin/time -f "%e seconds" zsh -i -c exit
    0.06 seconds
This is acceptable, maybe the zsh-autocomplete is the problem for author or something else?

I originally switched to ZSH + Oh My Shell because it opens so fast. Ideally plugins would initialize asynchronously but it's not very easy with shell scripts I think.





FWIW, that’s not a great way to benchmark zsh.

Check out zsh-bench⁽¹⁾ for a more authoritative approach, including first prompt lag, first command lag, input lag and exit lag.

⁽¹⁾ https://github.com/romkatv/zsh-bench




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: