powerlevel10k mac omz kubecontext prompt segment not changing

Viewed 16

I have installed the powerlevel10k theme for my Mac. I manage several kubernetes clusters. I was excited to have the current Kubernetes cluster noted in my prompt (via "segment" configuration) in this zsh theme.

However, when I change kubernetes context with kubectl config use-context bla, the powerlevel10k kubecontext prompt segment (a RIGHT side prompt in my setup) is not updating.

In order to see the prompt segment change, I have to do source ~/.zshrc

This is obviously a huge issue because the entire premise for using this tool was to help get organised while managing so many clusters.

I have looked at the powerlevel10k FAQ and various google searches are not helping me discover why this is happening.

0 Answers
Related