Skip to content

add zcompile to completion init #1418

Open
@voyeg3r

Description

@voyeg3r

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:

I hope that issue came in handy!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions