svn
Summary
Section titled “Summary”svn downloads a snippet using the Subversion protocol, which enables checking out an
entire subdirectory from a GitHub repository — something the default HTTPS single-file
download cannot do.
Syntax / Usage
Section titled “Syntax / Usage”zi ice svnzi snippet OMZP::gitfastDetails
Section titled “Details”GitHub supports SVN access to repositories, and Zinit exploits this to download whole subdirectories as snippets. This is essential for Oh-My-Zsh plugins or Prezto modules that span multiple files.
After SVN checkout, the pick'' ice selects which file to source. Default auto-detected
files are *.plugin.zsh, init.zsh, and *.zsh-theme.
Does not work with plugins (only snippets).
Examples
Section titled “Examples”# OMZ plugin that requires multiple fileszi ice svnzi snippet OMZP::gitfast
# Prezto modulezi ice svnzi snippet PZTM::git
# SVN + as"null" for modules without a recognizable init filezi ice svn as"null"zi snippet PZTM::archiveSee Also
Section titled “See Also”- pick
- blockf
- as