From f5d5abfe1f89e5ea0d6f7cde6f3d9cd4b7c89d14 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Mon, 15 Jan 2024 17:17:14 +0100 Subject: [PATCH] fix a silly bug introduced in the last commit (#2534) --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index c21b27f9..2f723824 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -2321,7 +2321,7 @@ prompt_laravel_version() { # In some versions the output is colorized. # https://github.com/romkatv/powerlevel10k/issues/2534 v=${${v#$'\e['<->m}%$'\e['<->m} - _p9k_cache_stat_set "${${(M)v:#Laravel Framework *}#Laravel Framework }" + _p9k_cache_stat_set "$v" fi [[ -n $_p9k__cache_val[1] ]] || return _p9k_prompt_segment "$0" "maroon" "white" 'LARAVEL_ICON' 0 '' "${_p9k__cache_val[1]//\%/%%}"