mirror of
https://github.com/romkatv/powerlevel10k
synced 2025-01-11 08:29:28 +00:00
expand c-escapes in kubectl (#1361)
This commit is contained in:
parent
b55ad16bdf
commit
cd865da150
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user