mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
Resolves issue #553 where prompt hangs on kubectl version.
This commit is contained in:
parent
3c3a86a42f
commit
3dddcf519d
1 changed files with 1 additions and 1 deletions
|
@ -1366,7 +1366,7 @@ prompt_dir_writable() {
|
|||
|
||||
# Kubernetes Current Context
|
||||
prompt_kubecontext() {
|
||||
local kubectl_version=$(kubectl version 2>/dev/null)
|
||||
local kubectl_version=$(kubectl version --client 2>/dev/null)
|
||||
|
||||
if [[ -n "$kubectl_version" ]]; then
|
||||
# Get the current Kubernetes config context's namespaece
|
||||
|
|
Loading…
Reference in a new issue