aboutsummaryrefslogtreecommitdiff
path: root/modules/lib-bash/color-echo.sh
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2017-05-14 20:35:13 +0200
committerRobert Helgesson <robert@rycee.net>2017-05-14 20:35:13 +0200
commit8c7811a213687d8a0b837ff3bee8bd5af7dec5d2 (patch)
treee421933e83159f010b0211245db58f2d4a0e42dd /modules/lib-bash/color-echo.sh
parent3ee505179fd3bc6bbacd012030a3a8706f615cab (diff)
Credit original source for shell color code
Diffstat (limited to 'modules/lib-bash/color-echo.sh')
-rw-r--r--modules/lib-bash/color-echo.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/lib-bash/color-echo.sh b/modules/lib-bash/color-echo.sh
index e357bf70ce4..ef708b29c4d 100644
--- a/modules/lib-bash/color-echo.sh
+++ b/modules/lib-bash/color-echo.sh
@@ -1,3 +1,6 @@
+# The check for terminal output and color support is heavily inspired
+# by https://unix.stackexchange.com/a/10065.
+
function setupColors() {
normalColor=""
errorColor=""