diff --git a/functions.sh.in b/functions.sh.in index 719b354..4bdda5d 100644 --- a/functions.sh.in +++ b/functions.sh.in @@ -175,7 +175,7 @@ enable_colors() { BLUE="\033[1;34m" } -if [ -n "$USE_COLORS" ]; then +if [ -n "$USE_COLORS" ] && [ -t 1 ]; then enable_colors else disable_colors