dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 66424821c83d554d95d78a72b336c618312cff90
parent 33c122000d3e607d882df8282f8daf346a0d4786
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Sat,  9 Dec 2017 10:55:58 -0500

Update mailcap for handling html

Diffstat:
Mlinks/.mailcap | 3++-
Mlinks/.mutt/muttrc | 4++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/links/.mailcap b/links/.mailcap @@ -1,5 +1,6 @@ # HTML -text/html; open '%s' &; test=test -n "$DISPLAY"; needsterminal; +#text/html; open '%s.html' &; test=test -n "$DISPLAY"; needsterminal; +text/html; ~/.mutt/view_attachment.sh '%s' html &; test=test -n "$DISPLAY"; needsterminal; text/html; w3m -I %{charset} -T text/html; copiousoutput; # MS Word documents diff --git a/links/.mutt/muttrc b/links/.mutt/muttrc @@ -127,8 +127,8 @@ alternative_order text/plain text/enriched text/html # files: ';<enter>' # show email in browser -#bind attach <return> view-mailcap -macro attach <return> "<pipe-entry>cat >~/.mutt_mail.html && open ~/.mutt_mail.html<enter>" "show attachment in browser" +bind attach <return> view-mailcap +#macro attach <return> "<pipe-entry>cat >~/.mutt_mail.html && open ~/.mutt_mail.html<enter>" "show attachment in browser" # vi-like movement bind attach,index gg first-entry