zsh plugin for installing and loading pkenv
Inpired by zsh-pyenv
Once the plugin installed, pkenv will be available
- Using Antigen
Bundle zsh-pkenv in your .zshrc
antigen bundle ptavares/zsh-pkenv- Using zplug
Load zsh-pkenv as a plugin in your .zshrc
zplug "ptavares/zsh-pkenv"- Using zgen
Include the load command in your .zshrc
zget load ptavares/zsh-pkenv- As an Oh My ZSH! custom plugin
Clone zsh-pkenv into your custom plugins repo and load as a plugin in your .zshrc
git clone https://github.com/ptavares/zsh-pkenv.git ~/.oh-my-zsh/custom/plugins/zsh-pkenvplugins+=(zsh-pkenv)Keep in mind that plugins need to be added before oh-my-zsh.sh is sourced.
- Manually
Clone this repository somewhere (~/.zsh-pkenv for example) and source it in your .zshrc
git clone https://github.com/ptavares/zsh-pkenv ~/.zsh-pkenvsource ~/.zsh-pkenv/zsh-pkenv.plugin.zshThe plugin comes with a zsh function to update pkenv manually
# From zsh shell
update_zsh_pkenv