Comment by kps
1. That script's color check doesn't check that the output is a terminal. Also test
tty -s
2. Don't hardcode escape sequences. Use (e.g.) export STDOUT_COLOR_START="`tput setaf 4`".1. That script's color check doesn't check that the output is a terminal. Also test
tty -s
2. Don't hardcode escape sequences. Use (e.g.) export STDOUT_COLOR_START="`tput setaf 4`".