From 0c28fec137b2a505667d1980ece0c1943a033000 Mon Sep 17 00:00:00 2001 From: BEN MANSOUR Mohamed Rafik Date: Mon, 10 Jul 2023 22:07:28 +0200 Subject: fix pattern coloration for azure defined classes --- internal/p10k.zsh | 1 + 1 file changed, 1 insertion(+) (limited to 'internal') 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 -- cgit v1.2.3