mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
add availability to display or not Terraform version
Show Terraform version segment only when *.tf files are present in current directory
This commit is contained in:
parent
32e76e7721
commit
20b87731de
5 changed files with 12 additions and 1 deletions
|
|
@ -1270,6 +1270,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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue