Skip to content

zsh plugin for installing and loading terraform-switcher

License

Notifications You must be signed in to change notification settings

ptavares/zsh-tfswitch

Repository files navigation

GitHub pre-commit Release

zsh-tfswitch

GitHub

zsh plugin for installing and loading terraform-switcher

Table of content

This documentation section is generated automatically

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.

  • 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

Updating tfswitch

The plugin comes with a zsh function to update tfswitch manually

# From zsh shell
update_zsh_tfswitch

License

MIT

About

zsh plugin for installing and loading terraform-switcher

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published