Skip to main content

🌀 Submods

An annex delivers the capability to clone additional submodules while installing a plugin or snippet. The submodules are then automatically updated on the zi update … command.

Synopsis:

submods'{user}/{plugin} -> {output directory}; …`

An example command utilizing the annex and its ice-modifier to load a plugin with additional submodules:

~/.zshrc
zi ice submods'zsh-users/zsh-autosuggestions -> external'
zi load some/plugin

Install submods

Add the following snippet in the .zshrc file:

zi light z-shell/z-a-submods

This will register the submods'…' ice-modifier.