You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just started playing with kubie. Installation and first use went fine, but I noticed my prompt did not show the active kubernetes context/namespace like I had seen in screenshots and demo's of others. Fast-forward to the why: I'm using starship to manage my shell prompt, which uses its own prompt definition, and basically ignores PS1 updates kubie might be doing.
To who it might concern, the solution is actually pretty easy: starship comes with its own kubernetes plugin to show context/namespace (and more). You minimally have to add this to your starship config:
[kubernetes]
disabled = false
This plugin follows $KUBECONFIG, so it is compatible with kubie
(FYI I'm just putting this here in an github issue, as it might prevent other people losing time on figuring this out. To be discussed if this deserves a place in the docs/readme)
The text was updated successfully, but these errors were encountered:
I just started playing with kubie. Installation and first use went fine, but I noticed my prompt did not show the active kubernetes context/namespace like I had seen in screenshots and demo's of others. Fast-forward to the why: I'm using starship to manage my shell prompt, which uses its own prompt definition, and basically ignores
PS1
updates kubie might be doing.To who it might concern, the solution is actually pretty easy: starship comes with its own kubernetes plugin to show context/namespace (and more). You minimally have to add this to your starship config:
This plugin follows
$KUBECONFIG
, so it is compatible with kubie(FYI I'm just putting this here in an github issue, as it might prevent other people losing time on figuring this out. To be discussed if this deserves a place in the docs/readme)
The text was updated successfully, but these errors were encountered: