Powerlevel9k / powerlevel9k

Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
https://github.com/romkatv/powerlevel10k
MIT License
13.47k stars 947 forks source link

[Bugfix] Hide kubecontext prompt if there is no current context #1220

Closed tdmalone closed 1 year ago

tdmalone commented 5 years ago

This hides the kubecontext prompt if there is no current context set in ~/.kube/config. Essentially, this prevents a namespace from being shown all on its own.

BEFORE this PR - no context set: image

AFTER this PR - no context set: image

BEFORE & AFTER this PR (i.e. no change) - context set: image

mvaldesdeleon commented 5 years ago

Would be nice if this got merged, as I just implemented the same feature and came here looking for unmerged PRs before submitting my own.