From 5bbe3255550bbe60f6108644243d97590438de84 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 28 Aug 2015 04:08:52 +0300 Subject: [PATCH] .muttrc: set attribution according to LC_TIME --- .muttrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.muttrc b/.muttrc index 1f3f6b9..c12f724 100644 --- a/.muttrc +++ b/.muttrc @@ -61,6 +61,7 @@ set write_inc=10 # Progress indicator when writing folders. set allow_8bit # Never do Q-P encoding on legal 8-bit chars set abort_unmodified=no # Let me send empty messages set alias_file==mutt/aliases # Where to store aliases +set attribution=`case "$LC_TIME" in ru_RU*) echo "'÷ %{%a, %d %b %Y × %I:%M:%S%p %Z} %f ÎÁÐÉÓÁÌ:'" ;; *) echo "'On %d, %f wrote:'" ;; esac` set beep=no # Never beep on errors set collapse_unread=no # Do not collapse thread with unread messages set confirmappend=no # Don't ask me if i want to append to mailboxes @@ -181,7 +182,6 @@ folder-hook .* "\ my_hdr From: Oleg Broytman ; \ my_hdr Reply-To: Oleg Broytman ; \ my_hdr X-Url: http://phdru.name/; \ - set attribution='On %d, %f wrote:'; \ set record==sent-mail; \ set signature==signatures/phd@phdru.name" @@ -239,13 +239,11 @@ send-hook .* "\ my_hdr From: Oleg Broytman ; \ my_hdr Reply-To: Oleg Broytman ; \ my_hdr X-Url: http://phdru.name/; \ - set attribution='On %d, %f wrote:'; \ set signature==signatures/phd@phdru.name" send-hook "~L '@.*\.(r|s)u$'" "\ my_hdr From: ïÌÅÇ âÒÏÊÔÍÁÎ ; \ my_hdr Reply-To: ïÌÅÇ âÒÏÊÔÍÁÎ ; \ - set attribution='÷ %{%a, %d %b %Y × %I:%M:%S%p %Z} %f ÎÁÐÉÓÁÌ:'; \ set signature='iconv -f koi8-r ~/mail/signatures/phd@phdru.name-ru|'" send-hook "~L '@(mail|list|inbox|bk)\.ru'" "\ -- 2.39.2