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