use aliases for minbox and munread

This commit is contained in:
Felix Van der Jeugt 2021-03-17 10:21:03 +01:00
parent 294c756468
commit 36faade27e
No known key found for this signature in database
GPG Key ID: 58B209295023754D
3 changed files with 3 additions and 6 deletions

View File

@ -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

View File

@ -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

2
yashrc
View File

@ -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"