From 346678930fd3fbd0eb44ec7be31a1f28d00a53cc Mon Sep 17 00:00:00 2001 From: Ayo Date: Mon, 7 Jul 2025 09:14:13 +0200 Subject: [PATCH] feat: mail script to send new task to Things --- ayo.sh | 4 ++++ mail.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ayo.sh b/ayo.sh index f871fcf..41ce0f7 100755 --- a/ayo.sh +++ b/ayo.sh @@ -64,6 +64,10 @@ case $1 in . ${scripts_dir}/git.sh push $2 $3 $4 $5 $6 $7 $8 $9 ;; + mt) # mail task + . ${scripts_dir}/mail.sh task + ;; + ## SCRIPTS m | mail) diff --git a/mail.sh b/mail.sh index 228a2d2..a41f5ec 100755 --- a/mail.sh +++ b/mail.sh @@ -12,7 +12,7 @@ command=$1 if [ "$1" = "task" ] || [ "$1" = "t" ]; then read -p "Task:" task - mutt -s task things + mutt -s "$task" things else mutt $1 $2 $3 $4 $5 fi