1
0
Fork 0
mirror of https://github.com/zdharma-continuum/zinit-annex-link-man.git synced 2024-11-21 13:48:01 +01:00
zinit-annex-link-man/README.md
Vladislav Doster 25f076aa10 docs: format & update README.md
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-12-23 05:41:07 -06:00

1.2 KiB

zinit-annex-link-man

A Zsh-Zinit annex (i.e. an extension) that provides functionality, which allows to:

  1. Run programs and scripts without adding anything to $PATH via the automatic creation of links in $ZPFX/bin

Usage

Simply load like a regular plugin, i.e.:

zinit light zdharma-continuum/zinit-annex-linkman

After executing this command you can then use the new ice-mods provided by the annex.

How it works

Ice Modifiers Provided By The Annex

There is one ice-modifier provided and handled by this annex. They are:

  1. lman'' – creates links for binaries and scripts.

The ice-modifier in detail:

lman

It creates the link that calls the actual binary. The link is created always under the same, standard and single $PATH entry: $ZPFX/bin (which is ~/.zinit/polaris/bin by default).