Makes send-from-mutt script also run notmuch new

master
Jonathan Hodgson 4 years ago
parent d28bec4a8b
commit 0b510b8370
  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