From 508c74512caa1b4cd55dcaf61d45d8f7a2900429 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Mon, 8 Jan 2024 16:17:48 +0100 Subject: [PATCH] More mblaze function's and fixes for some. --- .config/zsh/functions.zsh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.config/zsh/functions.zsh b/.config/zsh/functions.zsh index af2fc0d..5d98681 100755 --- a/.config/zsh/functions.zsh +++ b/.config/zsh/functions.zsh @@ -104,6 +104,7 @@ mnew () { mbsync -V $profile mlist -s "$maildir"/INBOX | msort -dr | mseq -S fi + minc "$maildir/INBOX" > /dev/null } # Get full mail for current profile including threads @@ -117,4 +118,11 @@ mall () { mbsync -V $profile mlist "$maildir"/INBOX | mthread -r -S "$sent" | mseq -S fi + minc "$maildir/INBOX" > /dev/null +} + +# Set mail as read +mread() { + mflag -S $1 + mseq -f : | mseq -S }