@@ -13,11 +13,12 @@ local ls="" 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" local color_vcs="#43d696" local color_vcs_braces="#29bc7d"