[zsh] Introduce a few more p10k classes / dir settings
This commit is contained in:
parent
c1b652bc24
commit
6ef47ad231
15
dot_p10k.zsh
15
dot_p10k.zsh
|
@ -331,7 +331,12 @@
|
||||||
# typeset -g POWERLEVEL9K_DIR_WORK_SHORTENED_FOREGROUND=103
|
# typeset -g POWERLEVEL9K_DIR_WORK_SHORTENED_FOREGROUND=103
|
||||||
# typeset -g POWERLEVEL9K_DIR_WORK_ANCHOR_FOREGROUND=39
|
# typeset -g POWERLEVEL9K_DIR_WORK_ANCHOR_FOREGROUND=39
|
||||||
#
|
#
|
||||||
# typeset -g POWERLEVEL9K_DIR_CLASSES=()
|
typeset -g POWERLEVEL9K_DIR_CLASSES=(
|
||||||
|
'~/Documents(|/*)' WORK ''
|
||||||
|
'~/Code(|/*)' CODE '華'
|
||||||
|
'~(|/*)' HOME ''
|
||||||
|
'*' DEFAULT ''
|
||||||
|
)
|
||||||
|
|
||||||
#####################################[ vcs: git status ]######################################
|
#####################################[ vcs: git status ]######################################
|
||||||
# Branch icon. Set this parameter to '\uF126 ' for the popular Powerline branch icon.
|
# Branch icon. Set this parameter to '\uF126 ' for the popular Powerline branch icon.
|
||||||
|
@ -804,7 +809,7 @@
|
||||||
#############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]#############
|
#############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]#############
|
||||||
# Show kubecontext only when the the command you are typing invokes one of these tools.
|
# Show kubecontext only when the the command you are typing invokes one of these tools.
|
||||||
# Tip: Remove the next line to always show kubecontext.
|
# Tip: Remove the next line to always show kubecontext.
|
||||||
typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc'
|
# typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc'
|
||||||
|
|
||||||
# Kubernetes context classes for the purpose of using different colors, icons and expansions with
|
# Kubernetes context classes for the purpose of using different colors, icons and expansions with
|
||||||
# different contexts.
|
# different contexts.
|
||||||
|
@ -834,11 +839,13 @@
|
||||||
# typeset -g POWERLEVEL9K_KUBECONTEXT_TEST_CONTENT_EXPANSION='> ${P9K_CONTENT} <'
|
# typeset -g POWERLEVEL9K_KUBECONTEXT_TEST_CONTENT_EXPANSION='> ${P9K_CONTENT} <'
|
||||||
typeset -g POWERLEVEL9K_KUBECONTEXT_CLASSES=(
|
typeset -g POWERLEVEL9K_KUBECONTEXT_CLASSES=(
|
||||||
'*prod*' PRODUCTION
|
'*prod*' PRODUCTION
|
||||||
'*stage*' STAGING
|
'*stage*' STAGING
|
||||||
'*beta*' STAGING
|
'*beta*' STAGING
|
||||||
'*test*' TEST
|
'*test*' TEST
|
||||||
'*' DEFAULT)
|
'*' DEFAULT)
|
||||||
typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_FOREGROUND=134
|
typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_FOREGROUND=75
|
||||||
|
typeset -g POWERLEVEL9K_KUBECONTEXT_STAGING_FOREGROUND=215
|
||||||
|
typeset -g POWERLEVEL9K_KUBECONTEXT_PRODUCTION_FOREGROUND=197
|
||||||
# typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
||||||
# Use POWERLEVEL9K_KUBECONTEXT_CONTENT_EXPANSION to specify the content displayed by kubecontext
|
# Use POWERLEVEL9K_KUBECONTEXT_CONTENT_EXPANSION to specify the content displayed by kubecontext
|
||||||
|
|
Loading…
Reference in New Issue