diff options
author | Cameron Boulton <cameron@safecorp.com> | 2019-09-07 00:55:49 +0300 |
---|---|---|
committer | Cameron Boulton <cameron@safecorp.com> | 2019-09-07 00:55:49 +0300 |
commit | 4405297b13e15b0775181e37492403cfa64d281f (patch) | |
tree | 9580b3d214d4b3f9e7f10beb67c3921665676ee2 | |
parent | 1ec035ead3d72c0767c1c532abfe93ef75087d4b (diff) |
Default Kubernetes content expansion to include namespace.
-rw-r--r-- | config/p10k-classic.zsh | 2 | ||||
-rw-r--r-- | config/p10k-lean.zsh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 921c5166..4b6ce418 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -662,7 +662,7 @@ fi # The expansion below will show P9K_KUBECONTEXT_CLOUD_CLUSTER if it's not empty and fall back # to P9K_KUBECONTEXT_NAME. Parameter expansions are very flexible and fast, too. See reference: # http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion. - typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION='${P9K_KUBECONTEXT_CLOUD_CLUSTER:-${P9K_KUBECONTEXT_NAME}}' + typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION='${P9K_KUBECONTEXT_CLOUD_CLUSTER:-${P9K_KUBECONTEXT_NAME}}/${P9K_KUBECONTEXT_NAMESPACE}' # Custom prefix. # typeset -g POWERLEVEL9K_KUBECONTEXT_PREFIX='%248Fat ' diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index 6f21e5e8..fa7ed9df 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -637,7 +637,7 @@ fi # The expansion below will show P9K_KUBECONTEXT_CLOUD_CLUSTER if it's not empty and fall back # to P9K_KUBECONTEXT_NAME. Parameter expansions are very flexible and fast, too. See reference: # http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion. - typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION='${P9K_KUBECONTEXT_CLOUD_CLUSTER:-${P9K_KUBECONTEXT_NAME}}' + typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION='${P9K_KUBECONTEXT_CLOUD_CLUSTER:-${P9K_KUBECONTEXT_NAME}}/${P9K_KUBECONTEXT_NAMESPACE}' # Custom prefix. # typeset -g POWERLEVEL9K_KUBECONTEXT_PREFIX='%fat ' |