dotfiles.2022/_home/dot_sz.shrc.d/bash.post/99_terraform.complete

5 lines
121 B
Plaintext

TERRAFORM_BIN=$(type -fP terraform | head -1)
if [[ -n $TERRAFORM_BIN ]]; then
complete -C $TERRAFORM_BIN terraform
fi