summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin McBride <krmcbride@users.noreply.github.com>2018-07-02 23:33:23 +0300
committerGitHub <noreply@github.com>2018-07-02 23:33:23 +0300
commit534ec66466541528da2b8d5cb520fcc7a27ca52a (patch)
treeb7de0c502dfa4d0c21c0ae6ee450519a0351c404
parent0e3c1924fe40835dfe189227b8a165de147e65a1 (diff)
kubecontext: fix context, namespace comparison
-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