Skip to content

Terraform plugin for ZSH, supports Oh My ZSH, convenient aliases, and autocompletion

License

Notifications You must be signed in to change notification settings

macunha1/zsh-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform ZSH Plugin

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.

Requirements

Installation

Antigen

  1. Add the following to your .zshrc:

    antigen bundle macunha1/zsh-terraform
  2. Start a new terminal session.

Oh My Zsh

  1. 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
  2. Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):

    plugins=(terraform)
  3. Start a new terminal session.

Manual (Git Clone)

  1. 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
  2. Add the following to your .zshrc:

    source ~/.zsh/zsh-terraform/terraform.zsh
  3. Start a new terminal session.

Features

  • Terraform ZSH autocompletion
  • Terraform aliases

TODO

  • Auto-detection of Terraform commands (overwriting _terraform)

About

Terraform plugin for ZSH, supports Oh My ZSH, convenient aliases, and autocompletion

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages