caiogondim / bullet-train.zsh

:bullettrain_side: An oh-my-zsh shell theme based on the Powerline Vim plugin
MIT License
2.82k stars 382 forks source link

use kubectl to query the current context #294

Closed CameronAM closed 4 years ago

CameronAM commented 5 years ago

The existing implementation fetches the Kubernetes context from a static config file, which fails if the config is overridden using an environment variable.

This change uses kubectl to query the current context directly.

raizdepi commented 4 years ago

Hi @CameronAM , the PR #312 with a different solution was merged, but with the same go of this PR.

So I will close this one.