Home

Awesome

zsh-tgenv

zsh plugin for installing and loading tgenv

Inpired by zsh-pyenv

Table of content

Usage

Once the plugin installed, tgenv will be available

Bundle zsh-tgenv in your .zshrc

antigen bundle ptavares/zsh-tgenv

Load zsh-tgenv as a plugin in your .zshrc

zplug "ptavares/zsh-tgenv"

Include the load command in your .zshrc

zget load ptavares/zsh-tgenv

Clone zsh-tgenv into your custom plugins repo and load as a plugin in your .zshrc

git clone https://github.com/ptavares/zsh-tgenv.git ~/.oh-my-zsh/custom/plugins/zsh-tgenv
plugins+=(zsh-tgenv)

Keep in mind that plugins need to be added before oh-my-zsh.sh is sourced.

Clone this repository somewhere (~/.zsh-tgenv for example) and source it in your .zshrc

git clone https://github.com/ptavares/zsh-tgenv ~/.zsh-tgenv
source ~/.zsh-tgenv/zsh-tgenv.plugin.zsh

Updating tgenv

The plugin comes with a zsh function to update tgenv manually

# From zsh shell
update_zsh_tgenv

License

MIT