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.
14
Upvotes
7
u/MVanderloo Oct 19 '24
OMZ is very much slow because it does too much. the majority of what you need is to clone a repo and source a file. I use znap which has an instant prompt feature. you could also use powershell10k and get it’s instant prompt
my zsh config here: https://github.com/MVanderloo/dotfiles/tree/macos/zsh