Author: "An annex that allows Zinit to clone additional submodules when installing a plugin or snippet."
Go to file
Sebastian Gniazdowski 88b62444a1 images: screenshot.png
2019-07-09 04:28:58 +02:00
images images: screenshot.png 2019-07-09 04:28:58 +02:00
.gitignore .gitignore: Exclude zwc, zcompdump files and ._zplugin directory 2019-07-09 04:11:19 +02:00
:zp-atclone-handler atclone,atpull: Update messages – use a colon before the plugin name 2019-07-09 04:12:50 +02:00
:zp-atpull-handler atclone,atpull: Update messages – use a colon before the plugin name 2019-07-09 04:12:50 +02:00
LICENSE Initial commit (.gitignore, LICENSE, README.md) 2019-07-08 17:46:16 +02:00
README.md Initial commit (.gitignore, LICENSE, README.md) 2019-07-08 17:46:16 +02:00
z-p-submods.plugin.zsh Generally complete plugin.zsh and :zp-atclone-handler 2019-07-09 02:08:04 +02:00

Introduction

A z-plugin (i.e. a plugin for the Zplugin) that allows Zpluugin to clone submodules when installing a plugin or snippet.

It adds submod'' ice to Zplugin with a following syntax:

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

So the example command using the z-plugin and its ice is e.g.

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

Installation

Simply load as a plugin. This will install the z-plugin within Zplugin:

zplugin light zdharma/z-p-submods