Home

Awesome

GitHub pre-commit Release

zsh-tfswitch

GitHub

zsh plugin for installing and loading terraform-switcher

Table of content

This documentation section is generated automatically

<!--TOC--> <!--TOC-->

Usage

Once the plugin installed, tfswitch will be available

Bundle zsh-tfswitch in your .zshrc

antigen bundle ptavares/zsh-tfswitch

Load zsh-tfswitch as a plugin in your .zshrc

zplug "ptavares/zsh-tfswitch"

Include the load command in your .zshrc

zget load ptavares/zsh-tfswitch

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.

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

Updating tfswitch

The plugin comes with a zsh function to update tfswitch manually

# From zsh shell
update_zsh_tfswitch

License

MIT