diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-07-04 09:08:49 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-07-04 09:08:49 +0300 |
commit | 0c341b67024642b8f1741920d1ae5d760bc488b0 (patch) | |
tree | 012661b6bdfef4ad70a00b3bcbc4c0f6fd4d1111 /config/p10k-classic.zsh | |
parent | 2d74ac9d069ff58b984f4818a2fb743b0059b3ed (diff) | |
parent | 06ed564092ac64e77e1fa83398e98d92cf1d9c0d (diff) |
Merge branch 'ancarpan-terraform-show-default'v1.12.0
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r-- | config/p10k-classic.zsh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 9e85288b..83eb89ac 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -1124,6 +1124,8 @@ # typeset -g POWERLEVEL9K_HASKELL_STACK_VISUAL_IDENTIFIER_EXPANSION='⭐' ################[ terraform: terraform workspace (https://www.terraform.io) ]################# + # Don't show terraform workspace if it's literally "default". + typeset -g POWERLEVEL9K_TERRAFORM_SHOW_DEFAULT=false # POWERLEVEL9K_TERRAFORM_CLASSES is an array with even number of elements. The first element # in each pair defines a pattern against which the current terraform workspace gets matched. # More specifically, it's P9K_CONTENT prior to the application of context expansion (see below) @@ -1137,7 +1139,7 @@ # typeset -g POWERLEVEL9K_TERRAFORM_CLASSES=( # '*prod*' PROD # '*test*' TEST - # '*' DEFAULT) + # '*' OTHER) # # If your current terraform workspace is "project_test", its class is TEST because "project_test" # doesn't match the pattern '*prod*' but does match '*test*'. @@ -1150,9 +1152,9 @@ typeset -g POWERLEVEL9K_TERRAFORM_CLASSES=( # '*prod*' PROD # These values are examples that are unlikely # '*test*' TEST # to match your needs. Customize them as needed. - '*' DEFAULT) - typeset -g POWERLEVEL9K_TERRAFORM_DEFAULT_FOREGROUND=38 - # typeset -g POWERLEVEL9K_TERRAFORM_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='⭐' + '*' OTHER) + typeset -g POWERLEVEL9K_TERRAFORM_OTHER_FOREGROUND=38 + # typeset -g POWERLEVEL9K_TERRAFORM_OTHER_VISUAL_IDENTIFIER_EXPANSION='⭐' #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# # Show kubecontext only when the the command you are typing invokes one of these tools. |