by vstm · 5mo ago · 0 comments
Thank you for the recommendation, I might then also be able to ditch sdkman as well.
I can strongly recommend lazy loading in zsh in general, I use it for pyenv too (which is also slow to load, but I write Python maybe every other week or so only).
The way to do this is to use the autoload functionality in zsh and have the autoloaded script replace itself with the real shell init code for the tool in question.