dotfiles/.bash_it/completion/available/terraform.completion.bash

11 lines
249 B
Bash
Raw Normal View History

2022-02-27 20:00:49 +01:00
#!/usr/bin/env bash
# Make sure terraform is installed
_command_exists terraform || return
# Don't handle completion if it's already managed
complete -p terraform &>/dev/null && return
# Terraform completes itself
complete -C terraform terraform