Expand comment

(this should have gone in a previous commit)
This commit is contained in:
Andrew Stevenson
2022-07-24 22:16:04 +00:00
parent c50e99b3e7
commit a352fd6507

View File

@@ -37,7 +37,8 @@ enable_color() {
. /usr/local/share/bastille/colors.pre.sh
}
# If "NO_COLOR" environment variable is present, disable output colors.
# If "NO_COLOR" environment variable is present, or we aren't speaking to a
# tty, disable output colors.
if [ -z "${NO_COLOR}" -a -t 1 ]; then
enable_color
fi