aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorBEN MANSOUR Mohamed Rafik <benm.stm@gmail.com>2023-07-10 23:07:28 +0300
committerBEN MANSOUR Mohamed Rafik <benm.stm@gmail.com>2023-07-10 23:07:28 +0300
commit0c28fec137b2a505667d1980ece0c1943a033000 (patch)
tree0b5759aebc36fa6818d557594c6d9107f1e2a001 /internal
parent4dca4bdfbb118953b73a131f511094462165971d (diff)
fix pattern coloration for azure defined classes
Diffstat (limited to 'internal')
-rw-r--r--internal/p10k.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 41cee213..c020cd9a 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -4655,6 +4655,7 @@ prompt_azure() {
fi
local pat class state
for pat class in "${_POWERLEVEL9K_AZURE_CLASSES[@]}"; do
+ name="${_p9k__cache_val[1]//\%/%%}"
if [[ $name == ${~pat} ]]; then
[[ -n $class ]] && state=_${${(U)class}//İ/I}
break