Skip to content

An annex for Zinit that allows to install and manage additional submodules within a plugin or snippet

License

Notifications You must be signed in to change notification settings

issenn/z-a-submods

Repository files navigation

paypal paypal patreon

Introduction

A annex (i.e. an extension for Zinitmore 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.

This annex adds submods'' ice to Zinit which has the following syntax:

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

An example command utilizing the annex and its ice:

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

screenshot

Installation

Simply load as a plugin. This will install the annex within Zinit:

zinit light zinit-zsh/z-a-submods

After this you can use the submods'' ice.

About

An annex for Zinit that allows to install and manage additional submodules within a plugin or snippet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages