diff --git a/local/bin/minbox b/local/bin/minbox deleted file mode 100755 index c7b851f..0000000 --- a/local/bin/minbox +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -mdirs /data/mail/ | mlist -F | mseq -S -mdirs /data/mail/ | mlist -s | mseq -A -msort -d | mthread | mseq -S -mscan diff --git a/local/bin/mmute b/local/bin/mmute index c31d76e..65998f0 100755 --- a/local/bin/mmute +++ b/local/bin/mmute @@ -3,5 +3,5 @@ if [ -z "$*" ]; then exec mmute . else mseq "$@" | mshow -qh message-id:references:in-reply-to | grep -o '<[^>]*>' | cat ~/.mblaze/muted - | sort | uniq | sponge ~/.mblaze/muted - marchive "$@" + mflag -fSt "$@" fi diff --git a/yashrc b/yashrc index b01403b..be66f54 100644 --- a/yashrc +++ b/yashrc @@ -65,6 +65,8 @@ alias ll="lr -Fl1Ghov" alias marchive="mflag -fSt" alias mspam="mflag -fST" alias mkeep="mflag -FSt" +alias munread="mdirs /data/mail | mlist -s | mseq -S && mscan" +alias minbox="mdirs /data/mail | mlist -dt | mpick -t 'flagged || ! seen' | msort -d | mthread | mseq -S && mscan" # There is only one vis alias vim="vis"