1
0
Fork 0

add text formatting presets

This commit is contained in:
Asif Bacchus 2020-09-14 23:36:03 -06:00
parent 0a032cdae1
commit 394487fadb
1 changed files with 16 additions and 0 deletions

View File

@ -8,6 +8,22 @@
# https://git.asifbacchus.app/ab-docker/scripts/LICENSE
#
### text formatting presets
if command -v tput > /dev/null; then
cyan=$(tput setaf 6)
err=$(tput bold)$(tput setaf 1)
magenta=$(tput setaf 5)
norm=$(tput sgr0)
ok=$(tput setaf 2)
else
cyan=''
err=''
magenta=''
norm=''
ok=''
fi
### pre-requisites
# check if wget is installed