aboutsummaryrefslogtreecommitdiff
path: root/sh/functions.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-17 09:32:18 +0000
committerRoy Marples <roy@marples.name>2007-04-17 09:32:18 +0000
commitf657d87b997f5b599d74a8f2eb6fef8dd6381550 (patch)
tree5bd3799657e97edabe5ff83e5ac145f3d15931d8 /sh/functions.sh
parent0f92b5e7df4ead366984b5624de12446bd968478 (diff)
Rationalise our colour usage a little.
Diffstat (limited to 'sh/functions.sh')
-rw-r--r--sh/functions.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/sh/functions.sh b/sh/functions.sh
index 48505c5e..99c937e1 100644
--- a/sh/functions.sh
+++ b/sh/functions.sh
@@ -144,14 +144,7 @@ for arg in "$@" ; do
done
if [ "${RC_NOCOLOR}" != "yes" -a -z "${GOOD}" ] ; then
- if color_terminal ; then
- GOOD=${EINFO_GOOD:-$'\e[32;01m'}
- WARN=${EINFO_WARN:-$'\e[33;01m'}
- BAD=${EINFO_BAD:-$'\e[31;01m'}
- HILITE=${EINFO_HILITE:-$'\e[36;01m'}
- BRACKET=${EINFO_BRACKET:-$'\e[34;01m'}
- NORMAL=$'\e[0m'
- fi
+ eval $(eval_ecolors)
fi
# vim: set ts=4 :