summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2018-07-07 18:22:15 +0300
committerGitHub <noreply@github.com>2018-07-07 18:22:15 +0300
commit51a8c283e626906c5c841e3c824322548353a0ca (patch)
treeb7de0c502dfa4d0c21c0ae6ee450519a0351c404 /powerlevel9k.zsh-theme
parent0e3c1924fe40835dfe189227b8a165de147e65a1 (diff)
parent534ec66466541528da2b8d5cb520fcc7a27ca52a (diff)
Merge pull request #891 from krmcbride/patch-1
kubecontext: fix context, namespace comparison
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 0e09ef03..509ccabb 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -1429,7 +1429,7 @@ prompt_kubecontext() {
local k8s_final_text=""
- if [[ "$k8s_context" == "k8s_namespace" ]]; then
+ if [[ "$k8s_context" == "$k8s_namespace" ]]; then
# No reason to print out the same identificator twice
k8s_final_text="$k8s_context"
else