Closed embano1 closed 6 years ago
That's beautiful. Thanks for that.
Just a heads up the kctx prompt is not in the default prompt order. So the only way to get it to show up is to define a custom prompt order and add it yourself. Even with the BULLETTRAIN_KCTX_KCONFIG set this was needed. I just added it to the default prompt in the theme source file.
@Qwerios good catch! Do you want to file a PR to make sure it ends up in the default prompt?
Pull request has been made
This PR adds a Kubernetes context segment.
It requires the user to at least set
BULLETTRAIN_KCTX_KCONFIG
to a valid kubeconfig location (e.g./Users/<username>/.kube/config
on OSX) and havekubectl
installed.Other variables supported (with default values):
Example: