make unpend mail unread
This commit is contained in:
@@ -52,9 +52,9 @@ if [[ "$CURDATE" != "$LASTDATE" ]]; then
|
||||
# if new pending days more than 1
|
||||
if [[ $day -ge 1 ]]; then
|
||||
notmuch tag -"$tag" +"${BASETAG}${day}" -- tag:"$tag"
|
||||
# otherwise, delete pending tag and set unpending tag
|
||||
# otherwise, delete pending tag and set unpending+unread tag
|
||||
else
|
||||
notmuch tag -"$tag" +"$UNPENDTAG" -- tag:"$tag"
|
||||
notmuch tag -"$tag" +"$UNPENDTAG" +unread -- tag:"$tag"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user