Author: "An annex that allows Zinit to clone additional submodules when installing a plugin or snippet."
Go to file
Vladislav Doster e345efb581 refactor: rename funcs
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-11-20 06:20:31 -06:00
images images: screenshot.png 2019-07-09 04:28:58 +02:00
.gitignore .gitignore 2020-02-18 02:56:08 +01:00
:za-submods::atclone-handler refactor: rename funcs 2022-11-20 06:20:31 -06:00
:za-submods::atclone-help-handler refactor: rename funcs 2022-11-20 06:20:31 -06:00
:za-submods::atpull-handler refactor: rename funcs 2022-11-20 06:20:31 -06:00
:za-submods::atpull-help-handler refactor: rename funcs 2022-11-20 06:20:31 -06:00
LICENSE Initial commit (.gitignore, LICENSE, README.md) 2019-07-08 17:46:16 +02:00
README.md (docs): add syntax section 2021-12-01 06:43:31 -06:00
z-a-submods.plugin.zsh refactor: rename funcs 2022-11-20 06:20:31 -06:00

zinit-annex-submods

An annex (i.e., an extension for Zinit more information) that allows Zinit to clone additional submodules when installing a plugin or snippet. The submodules are then automatically updated on the zinit update ... command.

screenshot

Installation

Load as a plugin that installs the annex within Zinit:

zinit light zinit-zsh/zinit-annex-submods

After this, you can use the submods ice.

Usage

Syntax

submods'{user}/{plugin} -> {output directory}'

Example of the submods ice

# Load the `zsh-autosuggestions' plugin via `autosuggestions' Prezto module
zinit ice svn submods'zsh-users/zsh-autosuggestions -> external'
zinit snippet PZTM::autosuggestions

Example of the submods ice and for syntax

# Load the `zsh-autosuggestions' plugin via `autosuggestions' Prezto module
zi submods'zsh-users/zsh-autosuggestions -> external' for PZTM::autosuggestions

# Load the`zsh-history-substring-search' plugin via Oh-My-Zsh `history-substring-search' plugin
zi submods"zsh-users/zsh-history-substring-search -> external" svn for OMZP::history-substring-search

# Load the`zsh-completions' plugin via Oh-My-Zsh `completion' lib
zi submods"zsh-users/zsh-completions -> external" for OMZL::completion.zsh