1 changed files with
12 additions and
4 deletions
|
|
|
@ -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() {
|
|
|
|
|