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