Hacker News new | ask | show | jobs
by Ciantic 152 days ago
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.

1 comments

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