I am on iTerm2 on mac, and my shell is Bash. I have the following settings. Bash does not recognize the colorcode and escapes.
$export CLICOLOR=1
$echo $TERM
xterm-256color
$echo -e "\e[31mHello World\e[0m"
\e[31mHello World\e[0m
$
Any suggestions on how do I fix this?