diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2017-09-29 00:31:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-29 00:31:26 +0300 |
commit | 11e80b47ef8a318d9d64ef1e928e1f072a17089b (patch) | |
tree | 91f1151aa3a474a0ae027ba7cd8d7b7caaf1441c | |
parent | 688f6203b4a1e048ee45bb9493069ab22840fd54 (diff) | |
parent | 48b4bd1aa4b39bb43dc6e853dd5f4b42cd21700b (diff) |
Merge pull request #611 from Typositoire/fix/prompt_kubecontextlocal1
Fix prompt_kubecontext:local:1: not valid in this context: Version:
-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 5aa280c6..322de3b7 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -1408,7 +1408,7 @@ prompt_dir_writable() { # Kubernetes Current Context prompt_kubecontext() { - local kubectl_version=$(kubectl version --client 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 |