Commit 2d12b689 authored by neil's avatar neil
Browse files

minor

parent 1643b476
......@@ -46,15 +46,23 @@ fi
__green() {
if [ -t 1 ] ; then
printf '\033[1;31;32m'
fi
printf -- "$1"
if [ -t 1 ] ; then
printf '\033[0m'
fi
}
__red() {
if [ -t 1 ] ; then
printf '\033[1;31;40m'
fi
printf -- "$1"
if [ -t 1 ] ; then
printf '\033[0m'
fi
}
_info() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment