An Interest In:
Web News this Week
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
April 9, 2022 09:09 am GMT
Original Link: https://dev.to/z-shell/zi-annex-eval-46co
ZI Annex - Eval
ZI Annex - EvalAllows to cache the output of arbitrarily slow initialization command to speed up shell startup time. |
z.digitalclouds.dev | GitHub | Discussions | Localize
Annex provides a completion file with the prefix _zi, the 'shim' below which will run all available zi completions and the shim is assigned as ZIs completion with a compdef call
Synopsis:
zi recache <plugin/snippet>
Wiki
Installation
Simply load like a regular plugin:
zi light z-shell/z-a-eval
After executing this command you can then use the new ice-mods provided by the annex.
How it works
The output of a slow initialization command is redirected to a file located within the plugin/snippets directory and sourced while loading. The next time the plugin/snippet is loaded, this file will be sourced skipping the need to run the initialization command.
This repository compatible with ZI.
Have the best and leave the rest!
Original Link: https://dev.to/z-shell/zi-annex-eval-46co
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To