Skip to content

Latest commit

 

History

History
78 lines (50 loc) · 1.56 KB

README.md

File metadata and controls

78 lines (50 loc) · 1.56 KB

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.

  • 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

Updating tgenv

The plugin comes with a zsh function to update tgenv manually

# From zsh shell
update_zsh_tgenv

License

MIT