Open
Description
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
ZSH_COMPDUMP="${ZDOTDIR}/.zcompdump"
autoload -Uz compinit zcompile
if [[ -n $ZSH_COMPDUMP(#qN.mh+24) ]]; then
compinit -i $ZSH_COMPDUMP
zcompile $ZSH_COMPDUMP
else
compinit -i -C
fi
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:
- https://github.com/xcv58/prezto/tree/master/modules/lazy-load
- https://raw.githubusercontent.com/Eriner/zim/master/templates/zlogin
On zim zlogin for example it has azcompare
function to test if is necessary
zcompile zomething.
I hope that issue came in handy!