colour stuff in the alias to avoid misguiding the column width

This commit is contained in:
Felix Van der Jeugt 2021-09-23 19:53:47 +02:00
parent 6964db0504
commit 6a1d41d37d
No known key found for this signature in database
GPG Key ID: 58B209295023754D
2 changed files with 2 additions and 2 deletions

View File

@ -3,4 +3,4 @@ Alternate-Mailboxes: Felix Van der Jeugt <Felix.VanderJeugt@ugent.be>,Felix Van
Sendmail: msmtp -t Sendmail: msmtp -t
FQDN: mantle FQDN: mantle
Outbox: /data/mail/outbox Outbox: /data/mail/outbox
Scan-Format: %c%u %3n %d %17f %i%S Scan-Format: %c%u %3n %d %17f %i%S

2
yashrc
View File

@ -65,7 +65,7 @@ alias marchive="mflag -fSt"
alias mspam="mflag -fST" alias mspam="mflag -fST"
alias mkeep="mflag -FSt" alias mkeep="mflag -FSt"
alias munread="mdirs /data/mail | mlist -nds | mseq -S && mscan" alias munread="mdirs /data/mail | mlist -nds | mseq -S && mscan"
alias minbox="mdirs /data/mail | mlist -ndt | mpick -t 'flagged || ! seen' | msort -d | mthread | mseq -S && MBLAZE_PAGER=cat mscan" alias minbox="mdirs /data/mail | mlist -ndt | mpick -t 'flagged || ! seen' | msort -d | mthread | mseq -S && mscan | sed 's/^\(...\)\(...\) \(..........\) \(.................\) \(.*\)$/$(tput setaf 119)\1$(tput sgr0)\2 $(tput setaf 8)\3$(tput sgr0) \4 $(tput setaf 148)\5$(tput sgr0)/'"
export MBLAZE_PAGER='less -RF' export MBLAZE_PAGER='less -RF'
# There is only one vis # There is only one vis