🌀 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.
atclonehook – run after cloning any plugin or downloading any snippet.3.2.
atpullhook – run after pulling new commits (i.e. updating) for any plugin/snippet.3.3.
atinithook – run before loading any plugin/snippet, after it has been set up (i.e. downloaded).3.4.
atloadhook – run after loading any plugin/snippet. -
Register hooks for generating help text, shown by the
zi icemodssubcommand.
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