]> git.madduck.net Git - etc/mutt.git/blobdiff - .mutt/muttrc

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Change attribution when message is obviously German
[etc/mutt.git] / .mutt / muttrc
index 61401d90ac47815557698431c4f78fea94b770d3..faa17aff8822dfa6e02cae1b256686acc4820bf0 100644 (file)
@@ -2,6 +2,19 @@
 
 set my_confdir="$HOME/.mutt"
 
+set my_attribution_de="Zitiere aus E-Mail von \"%n\" vom %{%Y-%m-%d} um %{%H:%M Uhr %z}:"
+set my_attribution_en="Quoting \"%n\", who wrote on %{%Y-%m-%d} at %{%H:%M Uhr %z}:"
+
+source $my_confdir/confvars
+source $my_confdir/colours
+source $my_confdir/headers
+source $my_confdir/alternates
+source $my_confdir/keybindings
+source $my_confdir/lists
+source $my_confdir/spam
+source $my_confdir/hooks
+source $my_confdir/sidebar
+
 auto_view text/html application/ics text/calendar
 #auto_view application/x-gunzip application/x-tar-gz application/x-tar application/x-gtar
 #auto_view application/postscript
@@ -17,13 +30,4 @@ source "test -f $my_mutt_mailboxes && cat $my_mutt_mailboxes|"
 
 set alias_file="$my_confdir/aliases"
 source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_file|"
-
-source $my_confdir/colours
-source $my_confdir/headers
-source $my_confdir/alternates
-source $my_confdir/keybindings
-source $my_confdir/lists
-source $my_confdir/spam
-source $my_confdir/hooks
-source $my_confdir/sidebar
-source $my_confdir/confvars
+message-hook '~b "(Danke|Grü(ß|ss)e|Gru(ß|ss)|LG|Liebe|geehrte|Herr|Frau)"' 'set attribution="$my_attribution_de"'