feat(mail): one line mail to things
This commit is contained in:
parent
2fcdee3990
commit
a5d4b2023e
1 changed files with 1 additions and 1 deletions
2
mail.sh
2
mail.sh
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue