From 868398858ef9ab684851b37ce9d407208d284d49 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Fri, 14 Aug 2020 00:10:48 -0600 Subject: [PATCH] add defaults text formatting function --- pilerBackup/pilerbackup.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pilerBackup/pilerbackup.sh b/pilerBackup/pilerbackup.sh index ec54ff0..7c90f50 100755 --- a/pilerBackup/pilerbackup.sh +++ b/pilerBackup/pilerbackup.sh @@ -188,10 +188,14 @@ textblock() { printf "%s\n" "$1" | fold -w "$width" -s } -switchTextblock() { +defaultsTextblock() { printf "%s%s%s\n" "$yellow" "$1" "$norm" } +switchTextblock() { + printf "%s%s%s\n" "$cyan" "$1" "$norm" +} + newline() { printf "\n" }