Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/macunha1/zsh-terraform
Terraform plugin for ZSH, supports Oh My ZSH, convenient aliases, and autocompletion
https://github.com/macunha1/zsh-terraform
autocompletion terraform zsh zsh-plugin
Last synced: about 2 months ago
JSON representation
Terraform plugin for ZSH, supports Oh My ZSH, convenient aliases, and autocompletion
- Host: GitHub
- URL: https://github.com/macunha1/zsh-terraform
- Owner: macunha1
- License: mit
- Created: 2019-12-24T12:16:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-23T16:08:14.000Z (6 months ago)
- Last Synced: 2024-01-25T14:42:46.719Z (4 months ago)
- Topics: autocompletion, terraform, zsh, zsh-plugin
- Language: Shell
- Homepage:
- Size: 23.4 KB
- Stars: 16
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - terraform (macunha1) - Add convenience aliases for [terraform](https://terraform.io/), tab completions and helper function to add your terraform workspace in the prompt. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - terraform (macunha1) - Add convenience aliases for đ [terraform](terraform.io/), tab completions and helper function to add your terraform workspace in the prompt. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - terraform (macunha1) - Add convenience aliases for [terraform](https://terraform.io/), tab completions and helper function to add your terraform workspace in the prompt. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - terraform (macunha1) - Add convenience aliases for [terraform](https://terraform.io/) and helper function to add your terraform workspace in the prompt. (Plugins / Zinit (nÊe zplugin))
README
# 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
- [Terraform](https://terraform.io/)
# Installation
- [Antigen](#antigen)
- [Oh My Zsh](#oh-my-zsh)
- [Manual](#manual-git-clone)## Antigen
1. Add the following to your `.zshrc`:
```sh
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`)```sh
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`):```sh
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`.```sh
git clone https://github.com/macunha1/zsh-terraform ~/.zsh/zsh-terraform
```2. Add the following to your `.zshrc`:
```sh
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](_terraform))