summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2017-07-12 02:13:21 +0300
committerGitHub <noreply@github.com>2017-07-12 02:13:21 +0300
commit92ff579d5b7e8d16924050899695f98af02673f7 (patch)
tree2bbcf64740121e6453794bcb377d87081b81f6d2
parent3c3a86a42f6299f8ccc9af27b4cb03467cb28927 (diff)
parent3dddcf519d2df2164a918a9b64b71510633932b6 (diff)
Merge pull request #554 from derekbassett/Prompt_Hang_Kubecontext_Minikube
Fixed prompt hangs on kubectl version command
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index dc7f0388..534a5892 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -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