diff --git a/backup_new.sh b/backup_new.sh index 4dc77cf..346bee3 100755 --- a/backup_new.sh +++ b/backup_new.sh @@ -6,14 +6,13 @@ ### text formatting presents -norm="\e[0m" -bold="\e[1m" -err="\e[1;31m" -warn="\e[1;93m" -ok="\e[32m" -yellow="\e[93m" -cyan="\e[96m" -mag="\e[95m" +norm=$(tput sgr0) +err=$(tput bold)$(tput setaf 1) +warn=$(tput bold)$(tput setaf 3) +ok=$(tput setaf 2) +yellow=$(tput setaf 3) +cyan=$(tput setaf 6) +mag=$(tput setaf 5) ### functions