Merge pull request #1380 from szymonpk/ignore-empty-k8s-context
Ignore unset and empty Kubernetes contextpull/1383/head
commit
bc45755232
|
|
@ -337,7 +337,7 @@ function ruby_version_prompt {
|
||||||
}
|
}
|
||||||
|
|
||||||
function k8s_context_prompt {
|
function k8s_context_prompt {
|
||||||
echo -e "$(kubectl config current-context)"
|
echo -e "$(kubectl config current-context 2> /dev/null)"
|
||||||
}
|
}
|
||||||
|
|
||||||
function virtualenv_prompt {
|
function virtualenv_prompt {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue