BerandaComputers and TechnologyShow HN: Terraform-Docs Zsh Plugin

Show HN: Terraform-Docs Zsh Plugin

Plugin for terraform-docs adds

  • autocomplete for commands
  • autocomplete for global flags
  • autocomplete for command flags
  • alias

Oh My Zsh

  1. Clone repository into ${ZSH_CUSTOM}/plugins (by default $ZSH_CUSTOM points to ~/.oh-my-zsh/custom)
git clone https://github.com/jsporna/terraform-docs-zsh-plugin 
    ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/terraform-docs
  1. Add te plugin to the list of plugins in ~/.zshrc for Oh My Zsh to load:
plugins=(... terraform-docs)
  1. Start new terminal session.
  • Type terraform-docs or tfdocs into your prompt and hit TAB to see available completion options

Read More

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments