Skip to content

Commit

Permalink
fix a silly bug introduced in the last commit (#2534)
Browse files Browse the repository at this point in the history
  • Loading branch information
romkatv committed Jan 15, 2024
1 parent 651033c commit f5d5abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/p10k.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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]//\%/%%}"
Expand Down

0 comments on commit f5d5abf

Please sign in to comment.