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
- Host: GitHub
- URL: https://github.com/seletskiy/zsh-zgen-compinit-tweak
- Owner: seletskiy
- Created: 2015-06-16T04:56:49.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-16T10:48:25.000Z (almost 9 years ago)
- Last Synced: 2024-01-25T17:35:09.132Z (4 months ago)
- Language: Shell
- Size: 113 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zsh-plugins - zgen-compinit-tweak - Make `compinit` run only once after all loading is done by [zgen](https://github.com/tarjoilija/zgen). (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - zgen-compinit-tweak - Make `compinit` run only once after all loading is done by <b><code> 1482â</code></b> <b><code> 99đ´</code></b> [zgen](https://github.com/tarjoilija/zgen)). (Plugins / ZSH on Windows)
- awesome-zsh-plugins - zgen-compinit-tweak - Make compinit run only once after all loading is done by [zgen](https://github.com/tarjoilija/zgen). (Plugins / Zinit (nÊe zplugin))
- awesome-zsh-plugins - zgen-compinit-tweak - Make `compinit` run only once after all loading is done by [zgen](https://github.com/tarjoilija/zgen). (Plugins / ZSH on Windows)
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
```