Makes send-from-mutt script also run notmuch new

Jonathan Hodgson 4 years ago
parent 19b2ca4500
commit 2fe7c1b97b
  1. 3
      bin/.bin/emails/send-from-mutt

@ -25,3 +25,6 @@ cleanHeaders(){
echo "$message" | sed '/^$/q' | grep -q -i 'markdown: true' \
&& echo "$message" | cleanHeaders | convertToHtmlMultipart | msmtp --file="$config" --account="$account" "$@" \
|| echo "$message" | cleanHeaders | msmtp --file="$config" --account="$account" "$@"
# Update notmuch database
( sleep 2 && notmuch new ) &

Loading…
Cancel
Save