]> code.delx.au - dotfiles/commitdiff
mutt: Use variables for folder hooks
authorJames Bunton <jamesbunton@delx.net.au>
Sat, 1 Sep 2012 01:32:27 +0000 (11:32 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Sat, 1 Sep 2012 02:03:21 +0000 (12:03 +1000)
.mutt/display

index ec6bad99a76476ae7f4c46d67ac806ade86f887a..d517ae2eb0b778f1fc264b22b78603ffb5036dae 100644 (file)
@@ -11,10 +11,10 @@ set sort_aux=last-date-received
 
 # When going to the Sent folder, sort by date-sent
 folder-hook . set sort_aux=last-date-received # And undo
-folder-hook "=Sent" set sort_aux=last-date-sent # And undo
+folder-hook "$record" set sort_aux=last-date-sent # And undo
 
 # When going to the Inbox only show new & flagged messages
-folder-hook "=Inbox" 'push I'
+folder-hook "$mbox" 'push I'
 
 # Hide the help line at the top
 set help=no