Skip to content

seletskiy/zsh-zgen-compinit-tweak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

zsh-zgen-compinit-tweak

Can offer significant speedup while using oh-my-zsh/prezto with zgen.

Should be loaded before any other plugin.

Usage

if ! zgen saved; then
    zgen load seletskiy/zsh-zgen-compinit-tweak

    # all other initialization

    zgen save
fi

Check zsh launch time before and after!

$ time zsh -ic exit
zsh -ic exit  0.05s user 0.02s system 83% cpu 0.075 total

About

Make compinit runs only once after all loading is done by zgen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages