Plugin for Terraform, extending original oh-my-zsh plugin with aliases and autocompletion.
Terraform is a tool from Hashicorp for managing infrastructure safely and efficiently.
-
Add the following to your
.zshrc
:antigen bundle macunha1/zsh-terraform
-
Start a new terminal session.
-
Clone this repository into
$ZSH_CUSTOM/plugins
(by default~/.oh-my-zsh/custom/plugins
)git clone https://github.com/macunha1/zsh-terraform \ ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/terraform
-
Add the plugin to the list of plugins for Oh My Zsh to load (inside
~/.zshrc
):plugins=(terraform)
-
Start a new terminal session.
-
Clone this repository somewhere on your machine. This guide will assume
~/.zsh/zsh-terraform
.git clone https://github.com/macunha1/zsh-terraform ~/.zsh/zsh-terraform
-
Add the following to your
.zshrc
:source ~/.zsh/zsh-terraform/terraform.zsh
-
Start a new terminal session.
- Terraform ZSH autocompletion
- Terraform aliases
- Auto-detection of Terraform commands (overwriting _terraform)