bullet-train.zsh icon indicating copy to clipboard operation
bullet-train.zsh copied to clipboard

fix(kubernetes-context): added to default prompt order

Open Qwerios opened this issue 6 years ago • 5 comments

As requested here: https://github.com/caiogondim/bullet-train.zsh/pull/257#issuecomment-415733705

Added it just after the aws prompt which seemed like the proper place

Qwerios avatar Aug 25 '18 08:08 Qwerios

Sadly even when making this change I can't get the prompt to work. Saddening =(

topagae avatar Feb 21 '19 00:02 topagae

Sadly even when making this change I can't get the prompt to work. Saddening =(

You still need to ensure the normal kubernetes configuration envs are set: https://github.com/caiogondim/bullet-train.zsh#kubernetes-context

And you can verify that kubectl config current-context actually returns a value.

Qwerios avatar Feb 21 '19 08:02 Qwerios

I very certainly did. I ran through every line and it was all kosher. Set the env var. Tested it. Tested all the if statements. Tested the grep of the config. For whatever reason it just doesn't render the prompt. Very sad.

On Thu, Feb 21, 2019, 12:20 AM Mark Doeswijk [email protected] wrote:

Sadly even when making this change I can't get the prompt to work. Saddening =(

You still need to ensure the normal kubernetes configuration envs are set: https://github.com/caiogondim/bullet-train.zsh#kubernetes-context

And you can verify that kubectl config current-context actually returns a value.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/caiogondim/bullet-train.zsh/pull/290#issuecomment-465905010, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQLuaNnUtCO6vym1CkY69zxDi1WGU1gks5vPlbUgaJpZM4WMTuN .

topagae avatar Feb 21 '19 08:02 topagae

Hi I just ran into this. I can confirm it works :smile: Can we merge this or document it?

drewgonzales360 avatar Jun 05 '19 21:06 drewgonzales360

I had to dig through and find this at a new job a year later and it's still not merged, sad!

chris-lee-parsable avatar Jan 29 '20 18:01 chris-lee-parsable