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.