feat: bold markup; echo usage for default mail script
This commit is contained in:
parent
346678930f
commit
006f0ead09
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
# NOTE: config should be loaded by the script using this shared functions.sh
|
# NOTE: config should be loaded by the script using this shared functions.sh
|
||||||
|
|
||||||
|
bold=$(tput bold)
|
||||||
|
dlob=$(tput sgr0)
|
||||||
|
|
||||||
# Sync notes via git
|
# Sync notes via git
|
||||||
notesSync() {
|
notesSync() {
|
||||||
# check if online
|
# check if online
|
||||||
|
|
2
mail.sh
2
mail.sh
|
@ -14,5 +14,5 @@ if [ "$1" = "task" ] || [ "$1" = "t" ]; then
|
||||||
read -p "Task:" task
|
read -p "Task:" task
|
||||||
mutt -s "$task" things
|
mutt -s "$task" things
|
||||||
else
|
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
|
fi
|
||||||
|
|
Loading…
Reference in a new issue