Skip to main content

๐ŸŒ€ Submods

z-shell/z-a-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.

This annex adds submods'โ€ฆ' ice to Zi which has the following syntax:

submods'{user}/{plugin} -> {output directory}; โ€ฆ'

An example command utilizing the annex and its ice:

Load zsh-autosuggestions plugin via Prezto module: autosuggestions

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

Install Submodsโ€‹

Simply load as a plugin. The following command will install the annex within Zi:

zi light z-shell/z-a-submods

After executing this command you can then use the submods'โ€ฆ' ice. The command should be placed in ~/.zshrc.