feat(mail): one line mail to things

This commit is contained in:
ayo 2026-06-01 19:53:20 +02:00
parent 2fcdee3990
commit a5d4b2023e

View file

@ -12,7 +12,7 @@ command=$1
if [ "$1" = "task" ] || [ "$1" = "t" ]; then if [ "$1" = "task" ] || [ "$1" = "t" ]; then
read -p "Task:" task read -p "Task:" task
mutt -s "$task" things echo "" | mutt -s "$task" things
else else
echo "Use ${bold}mail task${dlob} or ${bold}mt${dlob} to send a task to Things. Otherwise, use ${bold}mutt${dlob} for mail" echo "Use ${bold}mail task${dlob} or ${bold}mt${dlob} to send a task to Things. Otherwise, use ${bold}mutt${dlob} for mail"
fi fi