feat: mail script to send new task to Things
This commit is contained in:
parent
b023670c13
commit
346678930f
2 changed files with 5 additions and 1 deletions
4
ayo.sh
4
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)
|
||||
|
|
2
mail.sh
2
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
|
||||
|
|
Loading…
Reference in a new issue