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 zsh-autosuggestions plugin via Prezto module autosuggestions.

~/.zshrc
zi ice svn submods'zsh-users/zsh-autosuggestions -> external'zi snippet PZT::modules/autosuggestions

Install submodsโ€‹

Add the following snippet in the .zshrc file:

zi light z-shell/z-a-submods

This will register the submods'โ€ฆ' ice-modifier.