
我想在開始時出現的清單中查看郵件的日期mutt
。
我怎樣才能做到這一點?
答案1
您可以設定index_format
變數以包含有關每個訊息的各種不同詳細資訊。特別是,您可能需要%d
格式字串,該字串根據 的值插入格式化的日期date_format
,或其他日期格式字串之一,例如、%{fmt}
等%[fmt]
。index_format
set 'index_format="%4C %Z %{%b %d} %-15.15L (%4l) %s"'
看看文件有關可以配置的內容以及擴展日期格式字串代表什麼的更多詳細資訊。
設定檔
~/.muttrc 或 ~/.mutt/muttrc
使用者設定檔。/etc/Muttrc
系統範圍的設定檔。
#set date_format="%d %b %R" # 06 May 07:55
set date_format="%F %T" # 2021-05-06 09:20:03
set index_format="%4C %Z %D %-15.15L (%4l) %s"