1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 04:10:07 +00:00

fix a bug introduced in cf1b586515

This commit is contained in:
Roman Perepelitsa 2022-10-05 11:26:40 +02:00
parent cf1b586515
commit 5ee784787f

View file

@ -2009,7 +2009,7 @@ fi
zmodload zsh/terminfo || return zmodload zsh/terminfo || return
if [[ $ZSH_VERSION == (5.7.<1->*|5.<8>*|<6->.*) && $COLORTERM == (24bit|truecolor) ]]; then if [[ $ZSH_VERSION == (5.7.<1->*|5.<8->*|<6->.*) && $COLORTERM == (24bit|truecolor) ]]; then
local -ir has_truecolor=1 local -ir has_truecolor=1
else else
local -ir has_truecolor=0 local -ir has_truecolor=0