Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (15 sloc) 770 Bytes
# Images
Image/JPEG; /Users/vincent/tools/mac_tool/view_attachment.sh %s jpeg
Image/PNG; /Users/vincent/tools/mac_tool/view_attachment.sh %s png
Image/GIF; /Users/vincent/tools/mac_tool/view_attachment.sh %s gif
# UnIdentified.
Application/octet-stream; /Users/vincent/tools/mac_tool/view_attachment.sh %s "-"
# PDF
Application/PDF; /Users/vincent/tools/mac_tool/view_attachment.sh %s pdf
document/pdf; /Users/vincent/tools/mac_tool/view_attachment.sh %s -
# HTML
text/html; w3m -T text/html -I %{charset} -dump %s ; copiousoutput
video/*; /Users/vincent/tools/mac_tool/view_attachment.sh %s -
image/*; /Users/vincent/tools/mac_tool/view_attachment.sh %s -
mime_lookup application/octet-stream
application/*; /Users/vincent/tools/mac_tool/view_attachment.sh %s -