From 006f0ead09b99095f0c1c9b708f15bceca825262 Mon Sep 17 00:00:00 2001 From: Ayo Date: Wed, 9 Jul 2025 12:40:43 +0200 Subject: [PATCH] feat: bold markup; echo usage for default mail script --- functions.sh | 3 +++ mail.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/functions.sh b/functions.sh index cff58c0..6ea097e 100644 --- a/functions.sh +++ b/functions.sh @@ -1,5 +1,8 @@ # NOTE: config should be loaded by the script using this shared functions.sh +bold=$(tput bold) +dlob=$(tput sgr0) + # Sync notes via git notesSync() { # check if online diff --git a/mail.sh b/mail.sh index a41f5ec..ab048f3 100755 --- a/mail.sh +++ b/mail.sh @@ -14,5 +14,5 @@ if [ "$1" = "task" ] || [ "$1" = "t" ]; then read -p "Task:" task mutt -s "$task" things else - mutt $1 $2 $3 $4 $5 + echo "Use ${bold}mail task${dlob} or ${bold}mt${dlob} to send a task to Things. Otherwise, use ${bold}mutt${dlob} for mail" fi