diff options
author | Patrick Tavares <tavarespatrick01@gmail.com> | 2021-08-16 19:46:46 +0300 |
---|---|---|
committer | Patrick Tavares <tavarespatrick01@gmail.com> | 2021-08-16 19:46:46 +0300 |
commit | 20b87731de26638f40dce1bfc89f5b5a207e090f (patch) | |
tree | f90d88185236254c15a7edeab9e650e4b469a037 /config/p10k-classic.zsh | |
parent | 32e76e772173f1d2856ee4002f21607523221ce7 (diff) |
add availability to display or not Terraform version
Show Terraform version segment only when *.tf files are present in current directory
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r-- | config/p10k-classic.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 592d8a7b..3ccd335f 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -1206,6 +1206,8 @@ # typeset -g POWERLEVEL9K_TERRAFORM_OTHER_VISUAL_IDENTIFIER_EXPANSION='⭐' #############[ terraform_version: terraform version (https://www.terraform.io) ]############## + # Don't show terraform version if there is no "*.tf" files + typeset -g POWERLEVEL9K_TERRAFORM_VERSION_ALWAYS=false # Terraform version color. typeset -g POWERLEVEL9K_TERRAFORM_VERSION_FOREGROUND=38 # Custom icon. |