diff options
author | Derek Bassett <Derek_Bassett@comcast.com> | 2017-06-26 22:51:41 +0300 |
---|---|---|
committer | Derek Bassett <Derek_Bassett@comcast.com> | 2017-06-26 22:51:41 +0300 |
commit | 3dddcf519d2df2164a918a9b64b71510633932b6 (patch) | |
tree | 2bbcf64740121e6453794bcb377d87081b81f6d2 /powerlevel9k.zsh-theme | |
parent | 3c3a86a42f6299f8ccc9af27b4cb03467cb28927 (diff) |
Resolves issue #553 where prompt hangs on kubectl version.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
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 |