Plugin for terraform-docs adds
- autocomplete for commands
- autocomplete for global flags
- autocomplete for command flags
- alias
- Clone repository into
${ZSH_CUSTOM}/plugins(by default$ZSH_CUSTOMpoints to~/.oh-my-zsh/custom)
git clone https://github.com/jsporna/terraform-docs-zsh-plugin \
${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/terraform-docs- Add te plugin to the list of plugins in
~/.zshrcfor Oh My Zsh to load:
plugins=(... terraform-docs)- Start new terminal session.
- Type
terraform-docsortfdocsinto your prompt and hitTABto see available completion options