Skip to content

proto

proto'' overrides the protocol used for git clone. The default is https; use this ice to switch to ssh, git, or other supported protocols.

Terminal window
zi ice proto"ssh"
zi ice proto"git"
zi ice proto"ftp"
zi ice proto"ftps"
zi ice proto"rsync"

Supported protocol values: git, ftp, ftps, ssh, rsync, and the default https.

Does not work with snippets.

Terminal window
# Clone via SSH (useful for private repos or SSH-keyed GitHub access)
zi ice proto"ssh"
zi load user/private-plugin
  • from
  • cloneopts