neomutt: Rename render-prettyhtml to neomutt-renderhtml

Also ensure the temporary file

a) is always different, by using mktemp
and b) is always deleted with an EXIT trap
This commit is contained in:
Marty Oehme 2025-09-16 18:39:08 +02:00
parent 6b2a0e1918
commit 79a9c4a227
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 6 additions and 4 deletions

View file

@ -2,7 +2,7 @@
text/html; open %s ; nametemplate=%s.html
# render html emails inline using magic (uncomment the line below to use lynx instead)
# text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -collapse_br_tags -dump %s; nametemplate=%s.html; copiousoutput
text/html; render-prettyhtml %s; nametemplate=%s.html; copiousoutput;
text/html; neomutt-renderhtml %s; nametemplate=%s.html; copiousoutput;
text/plain; $EDITOR %s ;
# show calendar invites