commit d9479bdf2bf40146eb01da663ad198cb92346b49 parent d10400bf3b13eaf2e65eb4f298b08ac0fbf0afc1 Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Wed, 24 Feb 2016 15:22:17 -0800 add calls to view_attachment.sh Diffstat:
M | .mailcap | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/.mailcap b/.mailcap @@ -1 +1,18 @@ +# HTML text/html; w3m -I %{charset} -T text/html; copiousoutput; + +# MS Word documents +application/msword; ~/.mutt/view_attachment.sh %s "-" '/Applications/TextEdit.app' + +# Images +image/jpg; ~/.mutt/view_attachment.sh %s jpg +image/jpeg; ~/.mutt/view_attachment.sh %s jpg +image/pjpeg; ~/.mutt/view_attachment.sh %s jpg +image/png; ~/.mutt/view_attachment.sh %s png +image/gif; ~/.mutt/view_attachment.sh %s gif + +# PDFs +application/pdf; ~/.mutt/view_attachment.sh %s pdf + +# Unidentified files +application/octet-stream; ~/.mutt/view_attachment.sh %s "-"