|
|
@ -1406,11 +1406,11 @@
|
|
|
|
typeset -g POWERLEVEL9K_AZURE_SHOW_ON_COMMAND='az|terraform|pulumi|terragrunt'
|
|
|
|
typeset -g POWERLEVEL9K_AZURE_SHOW_ON_COMMAND='az|terraform|pulumi|terragrunt'
|
|
|
|
|
|
|
|
|
|
|
|
# POWERLEVEL9K_AZURE_CLASSES is an array with even number of elements. The first element
|
|
|
|
# POWERLEVEL9K_AZURE_CLASSES is an array with even number of elements. The first element
|
|
|
|
# in each pair defines a pattern against which the current AZURE subscription gets matched.
|
|
|
|
# in each pair defines a pattern against which the current azure account name gets matched.
|
|
|
|
# More specifically, it's P9K_CONTENT prior to the application of context expansion (see below)
|
|
|
|
# More specifically, it's P9K_CONTENT prior to the application of context expansion (see below)
|
|
|
|
# that gets matched. If you unset all POWERLEVEL9K_AZURE_*CONTENT_EXPANSION parameters,
|
|
|
|
# that gets matched. If you unset all POWERLEVEL9K_AZURE_*CONTENT_EXPANSION parameters,
|
|
|
|
# you'll see this value in your prompt. The second element of each pair in
|
|
|
|
# you'll see this value in your prompt. The second element of each pair in
|
|
|
|
# POWERLEVEL9K_AZURE_CLASSES defines the profile class. Patterns are tried in order. The
|
|
|
|
# POWERLEVEL9K_AZURE_CLASSES defines the account class. Patterns are tried in order. The
|
|
|
|
# first match wins.
|
|
|
|
# first match wins.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# For example, given these settings:
|
|
|
|
# For example, given these settings:
|
|
|
@ -1418,10 +1418,10 @@
|
|
|
|
# typeset -g POWERLEVEL9K_AZURE_CLASSES=(
|
|
|
|
# typeset -g POWERLEVEL9K_AZURE_CLASSES=(
|
|
|
|
# '*prod*' PROD
|
|
|
|
# '*prod*' PROD
|
|
|
|
# '*test*' TEST
|
|
|
|
# '*test*' TEST
|
|
|
|
# '*' DEFAULT)
|
|
|
|
# '*' OTHER)
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# If your current AZURE subscription is "company_test", its class is TEST
|
|
|
|
# If your current azure account is "project_test", its class is TEST because "project_test"
|
|
|
|
# because "company_test" doesn't match the pattern '*prod*' but does match '*test*'.
|
|
|
|
# doesn't match the pattern '*prod*' but does match '*test*'.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# You can define different colors, icons and content expansions for different classes:
|
|
|
|
# You can define different colors, icons and content expansions for different classes:
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -1431,10 +1431,12 @@
|
|
|
|
typeset -g POWERLEVEL9K_AZURE_CLASSES=(
|
|
|
|
typeset -g POWERLEVEL9K_AZURE_CLASSES=(
|
|
|
|
# '*prod*' PROD # These values are examples that are unlikely
|
|
|
|
# '*prod*' PROD # These values are examples that are unlikely
|
|
|
|
# '*test*' TEST # to match your needs. Customize them as needed.
|
|
|
|
# '*test*' TEST # to match your needs. Customize them as needed.
|
|
|
|
'*' DEFAULT)
|
|
|
|
'*' OTHER)
|
|
|
|
typeset -g POWERLEVEL9K_AZURE_DEFAULT_FOREGROUND=32
|
|
|
|
|
|
|
|
|
|
|
|
# Azure account name color.
|
|
|
|
|
|
|
|
typeset -g POWERLEVEL9K_AZURE_OTHER_FOREGROUND=32
|
|
|
|
# Custom icon.
|
|
|
|
# Custom icon.
|
|
|
|
# typeset -g POWERLEVEL9K_AZURE_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
|
|
|
# typeset -g POWERLEVEL9K_AZURE_OTHER_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
|
|
|
|
|
|
|
|
|
|
|
##########[ gcloud: google cloud account and project (https://cloud.google.com/) ]###########
|
|
|
|
##########[ gcloud: google cloud account and project (https://cloud.google.com/) ]###########
|
|
|
|
# Show gcloud only when the command you are typing invokes one of these tools.
|
|
|
|
# Show gcloud only when the command you are typing invokes one of these tools.
|
|
|
|