🌀 What can Annexes do?
-
Add a new Zi subcommand (i.e. the command that’s placed after the function
zi …
when calling Zi). -
Add new ice-modifiers.
-
Register four types of hooks:
3.1.
atclone
hook – run after cloning any plugin or downloading any snippet.3.2.
atpull
hook – run after pulling new commits (i.e. updating) for any plugin/snippet.3.3.
atinit
hook – run before loading any plugin/snippet, after it has been set up (i.e. downloaded).3.4.
atload
hook – run after loading any plugin/snippet. -
Register hooks for generating help text, shown by the
zi icemods
subcommand.
Recommended annexes
Common
Additional
提示
Use meta-plugins to install common annexes as a group:
zi light-mode for z-shell/z-a-meta-plugins @annexes
To install common and additional annexes:
zi light-mode for z-shell/z-a-meta-plugins @annexes+rec