aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index e797a874..cc36eb0d 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -4464,7 +4464,7 @@ prompt_kubecontext() {
{
(( pos <= $#cfg )) || return
shift $pos cfg
- pos=${cfg[(i) name: $name]}
+ pos=${cfg[(i) name: ${(b)name}]}
(( pos <= $#cfg )) || return
(( --pos ))
for ((; pos > 0; --pos)); do