aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2021-04-16 22:42:41 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2021-04-16 22:42:41 +0300
commitcd865da150cab138dda586f76d6a02f3a943d629 (patch)
tree6a5511aaf9445c4f233ac99239cb0abb58a2115d /internal/p10k.zsh
parentb55ad16bdf747e7ff6a3c821d92ed942d4e3be7c (diff)
expand c-escapes in kubectl (#1361)
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 89a7941a..da8362b6 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -4388,7 +4388,7 @@ prompt_kubecontext() {
fi
done
fi
- _p9k_cache_stat_set "$name" "$namespace" "$cluster" "$user" "$cloud_name" "$cloud_account" "$cloud_zone" "$cloud_cluster" "$text" "$state"
+ _p9k_cache_stat_set "${(g::)name}" "${(g::)namespace}" "${(g::)cluster}" "${(g::)user}" "${(g::)cloud_name}" "${(g::)cloud_account}" "${(g::)cloud_zone}" "${(g::)cloud_cluster}" "${(g::)text}" "$state"
fi
typeset -g P9K_KUBECONTEXT_NAME=$_p9k__cache_val[1]