Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 9, 2022 09:09 am GMT

ZI Annex - Eval

ZI Annex - Eval

Allows to cache the output of arbitrarily slow initialization command to speed up shell startup time.

eval preview

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:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To