You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the command exists but kubernetes has no context currently configured, kubectl config current-context prints error: current-context is not set into the stderr.
When the command exists but kubernetes has no context currently configured,
kubectl config current-context
printserror: current-context is not set
into the stderr.It's annoying and can be bypassed by disabling the Kubernetes segment temporarily HOWEVER I think it may be worth fixing here:
https://github.com/chris-marsh/pureline/blob/main/segments/kubernetes_segment#L12
and changing it for:
to silence the stderr (because you have the exit code and stdout will be empty when not set, so it's superfluous.)
The text was updated successfully, but these errors were encountered: