powerlevel9k icon indicating copy to clipboard operation
powerlevel9k copied to clipboard

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

Open tdmalone opened this issue 5 years ago • 1 comments

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

tdmalone avatar Mar 19 '19 14:03 tdmalone

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.

mvaldesdeleon avatar Aug 19 '19 10:08 mvaldesdeleon