]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Move part of ~/.mutt/mailboxes.rc to the git
authorSergey Matveev <stargrave@stargrave.org>
Sun, 2 Jul 2023 15:08:04 +0000 (18:08 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 2 Jul 2023 15:08:04 +0000 (18:08 +0300)
mutt/.mutt/muttrc

index 800337950187f1ca04fce0193a23d64920452b7c..e22e9160a1e8713ecb9cb30ffec20bb6a2485c50 100644 (file)
@@ -78,6 +78,21 @@ fcc-hook .* $record
 folder-hook . "set sort = threads; push <collapse-all>"
 
 source ~/.mutt/mailboxes.rc
+
+folder-hook =blog-comment "set sort = date"
+folder-hook =monitoring "set sort = date"
+
+set my_month_prev = `date -j -v -1m "+%y-%m"`
+set my_month_curr = `date "+%y-%m"`
+
+mailboxes \
+    =stcnet-$my_month_prev \
+    =stcnet-$my_month_curr \
+    =back-$my_month_prev \
+    =back-$my_month_curr
+
+folder-hook =search-sent "set sort = date-sent"
+
 source ~/.mutt/accounts/rc
 source ~/.mutt/hooks.rc