.muttrc

changeset 847
3d460b026be9
parent 846
2786ee9990c6
child 1010
d28fdf462fe0
--- a/.muttrc
+++ b/.muttrc
@@ -100,14 +100,12 @@ macro compose \eh "F mutt-md2html \ny^T^
 # Turn a text/plain markdown part into proper multipart
 macro compose \em \
 "<enter-command>set pipe_decode<enter>\
-<pipe-entry>~/bin/mutt-md2multipart /tmp/$hostname<enter>\
-<enter-command>unset pipe-decode<enter>\
-a^U/tmp/$hostname/msg.txt\n^Da^U/tmp/$hostname/msg.html\n^D^T^Utext/html; charset=utf-8\n\
-=DTT&d^U\n" \
+<pipe-entry>~/bin/mutt-md2html -o /tmp/mutt-$hostname.msg.html<enter>\
+<enter-command>unset pipe_decode<enter>\
+a^U/tmp/mutt-$hostname.msg.html\n^Du^T^Utext/html; charset=utf-8\n\
+=TT&d^U\n" \
 "multipartify"
 
-shutdown-hook 'shell-escape rm -rf /tmp/$hostname'
-
 push <first-entry>
 
 # Appearance

mercurial