about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-06-22 13:35:31 +0200
committertoonn <toonn@toonn.io>2021-06-22 13:35:31 +0200
commit8b0a8f07624a307d7a576f420e98e11d8ea99571 (patch)
tree4948cd1443f0a4e215e7000e1c5d6d81c2993b1a
parentcba26909142bb3af8ea74bccc2af83dc0da188bc (diff)
downloadranger-8b0a8f07624a307d7a576f420e98e11d8ea99571.tar.gz
mime.types: Recognize .eml as message/rfc822
This'll help to trigger the `mu` previews.
There's also `.emlx` files but mine include a nonce or count of some
sort on the first line and `mu view` doesn't seem capable of reading
from stdin so we can simply cut the first line.
-rw-r--r--ranger/data/mime.types2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/data/mime.types b/ranger/data/mime.types
index c0cfdcdb..b8803836 100644
--- a/ranger/data/mime.types
+++ b/ranger/data/mime.types
@@ -29,6 +29,8 @@ audio/x-flac            flac
 image/vnd.djvu          djvu
 image/webp              webp
 
+message/rfc822          eml
+
 text/x-ruby             rb
 
 video/ogg               ogv ogm