aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorYann David <davidyann88@gmail.com>2017-08-31 21:15:11 +0300
committerYann David <davidyann88@gmail.com>2017-08-31 21:15:11 +0300
commit48b4bd1aa4b39bb43dc6e853dd5f4b42cd21700b (patch)
tree91f1151aa3a474a0ae027ba7cd8d7b7caaf1441c /powerlevel9k.zsh-theme
parent688f6203b4a1e048ee45bb9493069ab22840fd54 (diff)
Fix prompt_kubecontext:local:1: not valid in this context: Version:
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
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