diff --git a/plugins/terraform/terraform.plugin.zsh b/plugins/terraform/terraform.plugin.zsh index b170f73a..610f42ea 100644 --- a/plugins/terraform/terraform.plugin.zsh +++ b/plugins/terraform/terraform.plugin.zsh @@ -5,3 +5,8 @@ function tf_prompt_info() { echo "[${workspace}]" fi } + +if [ $commands[terraform] ]; then + autoload -U +X bashcompinit && bashcompinit + complete -o nospace -C terraform terraform +fi