diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2018-07-09 22:30:28 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2018-07-09 22:30:28 +0300 |
commit | d031b3e03522d47607173ebda89e7558b622a322 (patch) | |
tree | 2418780efdfccf57f4c1f5b0674e0d1e3c8c2c81 /powerlevel9k.zsh-theme | |
parent | 579887d294840768381090528bcb5673762065d2 (diff) |
Fix kubernetes segment
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
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 |