thlorenz/doctoc by using the bin-gem-node annex:
# Download the Node package of doctoc
zi pack for doctoc
Provides the CLI command doctoc
.
The Node packages are installed locally into a null-plugin directory (feature of the bin-gem-node annex) and provided to the command line through shims,
i.e.: automatic forwarder scripts created under $ZPFX/bin
(which is added to the $PATH
by default; shims are also a bin-gem-node annex feature).
The ZI command executed will be equivalent to:
zi lucid as=null node="!doctoc" sbin="n:node_modules/.bin/doctoc" for \
z-shell/null
This repository compatible with ZI
The thlorenz/doctoc zsh package that can use the zsh-string-lib to automatically:
- get the plugin's Git repository OR release-package URL,
- get the list of the recommended ices for the plugin,
- there can be multiple lists of ices,
- the ice lists are stored in profiles; there's at least one profile, default,
- the ices can be selectively overridden.