mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-23 10:40:43 +01:00
Expand comment
(this should have gone in a previous commit)
This commit is contained in:
@@ -37,7 +37,8 @@ enable_color() {
|
|||||||
. /usr/local/share/bastille/colors.pre.sh
|
. /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
|
if [ -z "${NO_COLOR}" -a -t 1 ]; then
|
||||||
enable_color
|
enable_color
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user