From c396e838ca6314b94bab70ea7fbd95c4c2883223 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 1 Aug 2021 19:34:05 -0500 Subject: [PATCH] Add Terraform autocomplete --- base/.profile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/base/.profile b/base/.profile index cbd2b5af..594ae5cf 100755 --- a/base/.profile +++ b/base/.profile @@ -94,6 +94,15 @@ if has kubectl; then ;; esac fi +if has terraform; then + case "$_baseshell" in + *bash) + complete -C "$(which terraform)" terraform + ;; + *) + ;; + esac +fi # Set up go, if we have it if has go; then