From 5669c12c6659e888de9d0093f95a8fc91d0dba8d Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Tue, 17 Aug 2021 19:41:29 +0200 Subject: [PATCH] Revert "add availability to display or not Terraform version" This reverts commit 20b87731de26638f40dce1bfc89f5b5a207e090f. --- config/p10k-classic.zsh | 2 -- config/p10k-lean-8colors.zsh | 2 -- config/p10k-lean.zsh | 2 -- config/p10k-rainbow.zsh | 2 -- internal/p10k.zsh | 2 +- 5 files changed, 1 insertion(+), 9 deletions(-) diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 3ccd335f..592d8a7b 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -1206,8 +1206,6 @@ # 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. diff --git a/config/p10k-lean-8colors.zsh b/config/p10k-lean-8colors.zsh index 123a42c7..8e98757a 100644 --- a/config/p10k-lean-8colors.zsh +++ b/config/p10k-lean-8colors.zsh @@ -1274,8 +1274,6 @@ # 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=4 # Custom icon. diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index 698ffa78..5bfd77cc 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -1270,8 +1270,6 @@ # 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. diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh index 1535cb39..a580f300 100644 --- a/config/p10k-rainbow.zsh +++ b/config/p10k-rainbow.zsh @@ -1273,8 +1273,6 @@ # 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=4 typeset -g POWERLEVEL9K_TERRAFORM_VERSION_BACKGROUND=0 diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 80b5d5b1..2099c32f 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -3,7 +3,7 @@ if [[ $__p9k_sourced != 13 ]]; then >&2 print -P "[%F{1}ERROR%f]: Corrupted powerlevel10k installation." >&2 print -P "" if (( ${+functions[antigen]} )); then - >&2 print -P "If using %Bantigen%b, run the following command to fix:" + >&2 print -P "If using %Bantigen%b, run the folowing command to fix:" >&2 print -P "" >&2 print -P " %F{2}antigen%f reset" if [[ -d ~/.antigen ]]; then