Makes send-from-mutt script also run notmuch new
This commit is contained in:
parent
d28bec4a8b
commit
0b510b8370
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue