Hi there!
I have been a very happy user of kube-ps1 for a few years now. Thank you for such a handy and useful tool!
But not long ago, I just noticed that changing the context does not update the generated prompt from kube_ps1;
only when I open a new shell or terminal does the prompt change.
I thought Oh My Zsh might have caused this, and spent some time debugging it.
But if omz was really causing this, then shouldn't running kube_ps1 directly show the correct prompt?
Does anyone have an idea what might have caused this?
Here's my config:
# ...
plugins=(git podman docker-compose kube-ps1)
# ...
export PROMPT=$PROMPT'$(kube_ps1)> '
I'm not exactly sure when this first happened, but at least it was working a month ago.
Hi there!
I have been a very happy user of kube-ps1 for a few years now. Thank you for such a handy and useful tool!
But not long ago, I just noticed that changing the context does not update the generated prompt from
kube_ps1;only when I open a new shell or terminal does the prompt change.
I thought Oh My Zsh might have caused this, and spent some time debugging it.
But if omz was really causing this, then shouldn't running
kube_ps1directly show the correct prompt?Does anyone have an idea what might have caused this?
Here's my config:
I'm not exactly sure when this first happened, but at least it was working a month ago.