aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2024-01-15 19:17:14 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2024-01-15 19:17:14 +0300
commitf5d5abfe1f89e5ea0d6f7cde6f3d9cd4b7c89d14 (patch)
tree0d68e37ed0dd9fefef95a7e42e42c2aa797d3a99
parent651033c3df5465b56f40f019a78dac1ef9807a57 (diff)
fix a silly bug introduced in the last commit (#2534)
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
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]//\%/%%}"