Skip to content

z-shell/pyenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Logo ❮ ZI ❯ Package - Pyenv

Package source: Source Tarball Binary Git Node Gem
Status: ✔️ (default) ✔️


Available pack'' invocations

# Download the tarball with the default ice list
zi pack for pyenv
# Download the tarball with the bin-gem-node annex-utilizing ice list
zi pack"bgn" for pyenv
# Download with the bin-gem-node annex-utilizing ice list FROM GIT REPOSITORY
zi pack"bgn" git for pyenv

Default profile

Provides the pyenv version manager by extending $PATH to make it point into the bin subdirectory of the plugin.

The ZI command executed will be equivalent to:

zi lucid as'command' pick'bin/pyenv' atinit'export PYENV_ROOT="$PWD"' \
  atclone'PYENV_ROOT="$PWD" ./libexec/pyenv init - > zpyenv.zsh' \
  atpull"%atclone" src"zpyenv.zsh" nocompile'!' for \
    pyenv/pyenv

Bin-Gem-Node profile

Provides the version manager via shims, i.e.: automatic forwarder scripts created under $ZPFX/bin (which is added to the $PATH by default by ZI). It needs the bin-gem-node annex (it has the shim-creation feature).

The ZI command executed will be equivalent to:

zi as'null' lucid  atinit'export PYENV_ROOT="$PWD"' \
  atclone'PYENV_ROOT="$PWD" ./libexec/pyenv init - > zpyenv.zsh' \
  atpull"%atclone" src"zpyenv.zsh" nocompile'!' sbin"bin/pyenv" for \
    pyenv/pyenv

This repository compatible with ZI

The pyenv/pyenv zsh package that uses the zsh-string-lib to automatically:

  • get the plugin's Git repository OR release-package URL,
  • get the list of the recommended ices for the plugin,
    • there can be multiple lists of ices,
    • the ice lists are stored in profiles; there's at least one profile, default,
    • the ices can be selectively overridden.