fix bugs introduced in 843dcf0167
This commit is contained in:
parent
843dcf0167
commit
cf1b586515
2 changed files with 6 additions and 6 deletions
|
@ -2009,7 +2009,7 @@ fi
|
|||
|
||||
zmodload zsh/terminfo || return
|
||||
|
||||
if [[ $ZSH_VERSION == (5.7.<1->*|<6->.*) && $COLORTERM == (24bit|truecolor) ]]; then
|
||||
if [[ $ZSH_VERSION == (5.7.<1->*|5.<8>*|<6->.*) && $COLORTERM == (24bit|truecolor) ]]; then
|
||||
local -ir has_truecolor=1
|
||||
else
|
||||
local -ir has_truecolor=0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue