aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-07-09 22:30:28 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-07-09 22:30:28 +0300
commitd031b3e03522d47607173ebda89e7558b622a322 (patch)
tree2418780efdfccf57f4c1f5b0674e0d1e3c8c2c81
parent579887d294840768381090528bcb5673762065d2 (diff)
Fix kubernetes segment
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index f916f107..c1ea754f 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -1682,7 +1682,7 @@ prompt_kubecontext() {
local k8s_final_text=""
- if [[ "$k8s_context" == "$k8s_namespace" ]]; then
+ if [[ "$cur_ctx" == "$cur_namespace" ]]; then
# No reason to print out the same identificator twice
k8s_final_text="$cur_ctx"
else