1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-14 00:50:08 +00:00
This commit is contained in:
romkatv 2019-09-07 10:30:37 +02:00
parent 9a8a6ca836
commit 2dbd375981
2 changed files with 20 additions and 4 deletions

View file

@ -608,7 +608,14 @@ fi
# POWERLEVEL9K_KUBECONTEXT_CLASSES defines the context class. Patterns are tried in order. The # POWERLEVEL9K_KUBECONTEXT_CLASSES defines the context class. Patterns are tried in order. The
# first match wins. # first match wins.
# #
# For example, if your current kubernetes context is "deathray-testing/default", its class is TEST # For example, given these settings:
#
# typeset -g POWERLEVEL9K_KUBECONTEXT_CLASSES=(
# '*prod*' PROD
# '*test*' TEST
# '*' DEFAULT)
#
# If your current kubernetes context is "deathray-testing/default", its class is TEST
# because "deathray-testing/default" doesn't match the pattern '*prod*' but does match '*test*'. # because "deathray-testing/default" 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:
@ -638,7 +645,8 @@ fi
# in the output of `kubectl config get-contexts`. If there is no # in the output of `kubectl config get-contexts`. If there is no
# namespace, the parameter is set to "default". # namespace, the parameter is set to "default".
# #
# If the context points to GKE or EKS, the following extra parameters are available: # If the context points to Google Kubernetes Engine (GKE) or Elastic Kubernetes Service (EKS),
# the following extra parameters are available:
# #
# - P9K_KUBECONTEXT_CLOUD_NAME Either "gke" or "eks". # - P9K_KUBECONTEXT_CLOUD_NAME Either "gke" or "eks".
# - P9K_KUBECONTEXT_CLOUD_ACCOUNT Account/project ID. # - P9K_KUBECONTEXT_CLOUD_ACCOUNT Account/project ID.

View file

@ -582,7 +582,14 @@ fi
# POWERLEVEL9K_KUBECONTEXT_CLASSES defines the context class. Patterns are tried in order. The # POWERLEVEL9K_KUBECONTEXT_CLASSES defines the context class. Patterns are tried in order. The
# first match wins. # first match wins.
# #
# For example, if your current kubernetes context is "deathray-testing/default", its class is TEST # For example, given these settings:
#
# typeset -g POWERLEVEL9K_KUBECONTEXT_CLASSES=(
# '*prod*' PROD
# '*test*' TEST
# '*' DEFAULT)
#
# If your current kubernetes context is "deathray-testing/default", its class is TEST
# because "deathray-testing/default" doesn't match the pattern '*prod*' but does match '*test*'. # because "deathray-testing/default" 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:
@ -612,7 +619,8 @@ fi
# in the output of `kubectl config get-contexts`. If there is no # in the output of `kubectl config get-contexts`. If there is no
# namespace, the parameter is set to "default". # namespace, the parameter is set to "default".
# #
# If the context points to GKE or EKS, the following extra parameters are available: # If the context points to Google Kubernetes Engine (GKE) or Elastic Kubernetes Service (EKS),
# the following extra parameters are available:
# #
# - P9K_KUBECONTEXT_CLOUD_NAME Either "gke" or "eks". # - P9K_KUBECONTEXT_CLOUD_NAME Either "gke" or "eks".
# - P9K_KUBECONTEXT_CLOUD_ACCOUNT Account/project ID. # - P9K_KUBECONTEXT_CLOUD_ACCOUNT Account/project ID.