mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-12 19:18:28 +02:00
comments
This commit is contained in:
parent
7fe72dfce0
commit
7acc5a236d
@ -208,11 +208,12 @@ fi
|
|||||||
# typeset -g POWERLEVEL9K_KUBECONTEXT_PROD_FOREGROUND=1
|
# typeset -g POWERLEVEL9K_KUBECONTEXT_PROD_FOREGROUND=1
|
||||||
# typeset -g POWERLEVEL9K_KUBECONTEXT_TEST_FOREGROUND=2
|
# typeset -g POWERLEVEL9K_KUBECONTEXT_TEST_FOREGROUND=2
|
||||||
typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_FOREGROUND=3
|
typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_FOREGROUND=3
|
||||||
# Kubernetes too long? You can shorten it by defining an expansion. The original
|
# Kubernetes context too long? You can shorten it by defining an expansion. The original
|
||||||
# Kubernetes context that you see in your prompt is stored in ${P9K_CONTENT} when
|
# Kubernetes context that you see in your prompt is stored in ${P9K_CONTENT} when
|
||||||
# the expansion is evaluated. To remove everything up to and including the last '/',
|
# the expansion is evaluated. To remove everything up to and including the last '/',
|
||||||
# set POWERLEVEL9K_KUBECONTEXT_CONTENT_EXPANSION='${P9K_CONTENT##*/}'. Parameter
|
# set POWERLEVEL9K_KUBECONTEXT_CONTENT_EXPANSION='${P9K_CONTENT##*/}'. This is just,
|
||||||
# expansions are flexible and fast. See reference:
|
# an example which isn't necessarily the right expansion for you. Parameter expansions
|
||||||
|
# are very flexible and fast, too. See reference:
|
||||||
# http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion.
|
# http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion.
|
||||||
typeset POWERLEVEL9K_KUBECONTEXT_CONTENT_EXPANSION='${P9K_CONTENT}'
|
typeset POWERLEVEL9K_KUBECONTEXT_CONTENT_EXPANSION='${P9K_CONTENT}'
|
||||||
# Show the trailing "/default" in kubernetes context.
|
# Show the trailing "/default" in kubernetes context.
|
||||||
|
Loading…
Reference in New Issue
Block a user