Suppress exit code when nearcolor is not available

This commit is contained in:
Alexandros Kozak 2021-11-09 10:58:44 -08:00
parent 9a5a4a5199
commit c63603f1e2

View file

@ -381,4 +381,4 @@ if [[ $(uname -a) = (#i)*darwin* ]] {
FAST_HIGHLIGHT[chroma-man]=
}
[[ $COLORTERM == (24bit|truecolor) || ${terminfo[colors]} -eq 16777216 ]] || zmodload zsh/nearcolor &>/dev/null
[[ $COLORTERM == (24bit|truecolor) || ${terminfo[colors]} -eq 16777216 ]] || zmodload zsh/nearcolor &>/dev/null || :