From 6dd72c70ff6e7147eefdf9a1483855946388486c Mon Sep 17 00:00:00 2001 From: Ryosuke Sato Date: Thu, 5 Apr 2018 15:11:41 +0900 Subject: [PATCH] Add new terraform completions --- plugins/terraform/terraform.plugin.zsh | 5 +++++ 1 file changed, 5 insertions(+) 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