view mutt/mailcap @ 437:21dd55ac743c

Fix path to Mercurial templates on Windows. Apparently backslashes in the `--style` parameter don't work well.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 29 Apr 2018 20:16:35 -0700
parents 1a8e250fdf9d
children
line wrap: on
line source


# 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

# HTML
text/html; ~/.mutt/view_attachment.sh %s html

# Unidentified files
application/octet-stream; ~/.mutt/view_attachment.sh %s "-"