Open voyeg3r opened 7 years ago
Interesting ideas, thanks @voyeg3r!
zcompdump
is being compiled here https://github.com/sorin-ionescu/prezto/blob/master/runcoms/zlogin#L13
@voyeg3r the links that you have posted seem to be broken links. Could you kindly fix them?
As this issue is 3 years old, I've taken the time to pull updated links.
Zim was moved and changed a bit but https://github.com/zimfw/zimfw/blob/master/src/templates/login_init.zsh.erb looks relevant. And it looks like lazy-load was moved to https://github.com/xcv58/zsh-lazy-load/.
Thanks a lot @belak. Will go over them
Description
First of all I am not using prezto, but as long as I am a zsh user I would like to give my contribution to this amazing project
My compinit looks like
It is a little bit different of zprezto but the most significant part is the use of zcompile. It creates a pre compiled version of any zsh file, something similar to python bytecode (I guess). I think it would bring better performance to zpresto
Another thing I guess would be nice using are:
zcompare
function to test if is necessary zcompile zomething.I hope that issue came in handy!