zsh plugin for installing and loading tgenv
Inpired by zsh-pyenv
Once the plugin installed, tgenv
will be available
- Using Antigen
Bundle zsh-tgenv
in your .zshrc
antigen bundle ptavares/zsh-tgenv
- Using zplug
Load zsh-tgenv
as a plugin in your .zshrc
zplug "ptavares/zsh-tgenv"
- Using zgen
Include the load command in your .zshrc
zget load ptavares/zsh-tgenv
- As an Oh My ZSH! custom plugin
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.
- Manually
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
The plugin comes with a zsh function to update tgenv manually
# From zsh shell
update_zsh_tgenv