diff --git a/zshrc b/zshrc index 98f20e1..baa5ad9 100644 --- a/zshrc +++ b/zshrc @@ -15,7 +15,8 @@ local ls_color="auto" local ls_on_cd="yes" local ls_on_init="no" -if [ "$terminfo[colors]" = 16777216 ]; then +if [ "$COLORTERM" = "24bit" -o "$COLORTERM" = "truecolor" \ + -o "$terminfo[colors]" = 16777216 ]; then local color_cwd="#209060" local color_host="#176945" local color_suffix="#29bc7d"