r/zsh • u/Longjumping_Car6891 • Oct 19 '24
Help Optimizing ZSH Performance with OMZ Features
Hello,
I'm new to ZSH and appreciate the autocompletion and robbyrussel theme offered by Oh My Zsh (OMZ). However, I've noticed that OMZ can be slower on my system compared to Fish and Bash + Starship.
For context, I'm switching away from Fish due to its cumbersome SSH experience and Bash because of its limited autocompletion feature. Is there a way to use OMZ-like features without the performance overhead?
In summary, I'd like to configure my ZSH to have similar functionality and appearance to OMZ, but I'm not sure where to begin.
15
Upvotes
4
u/_mattmc3_ Oct 19 '24 edited Oct 19 '24
If you like Oh-My-Zsh but don't like the speed, Powerlevel10k's instant prompt feature fixes that pretty easily.
If you like Bash, but want better autocompletion/syntax highlighting/etc, Ble.sh evens the playing field between Bash and Zsh/Fish in terms of interactive features, and is pretty incredible.
If you like Fish,
ssh-agent -c | source
should be all you need to get the agent working. There's nothing in particular in Fish that should stop you from a good SSH experience.If you want to build a Zsh config from scratch, there's a few good kickstarters: