Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/seletskiy/zsh-zgen-compinit-tweak

Make compinit runs only once after all loading is done by zgen
https://github.com/seletskiy/zsh-zgen-compinit-tweak

Last synced: about 2 months ago
JSON representation

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

Lists

README

        

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
```