diff options
-rw-r--r-- | ranger/data/mime.types | 2 | ||||
-rwxr-xr-x | ranger/data/scope.sh | 6 |
2 files changed, 8 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 diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index dd8db89c..0a738a38 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -282,6 +282,12 @@ handle_mime() { pandoc -s -t markdown -- "${FILE_PATH}" && exit 5 exit 1;; + ## E-mails + message/rfc822) + ## Parsing performed by mu: https://github.com/djcb/mu + mu view -- "${FILE_PATH}" && exit 5 + exit 1;; + ## XLS *ms-excel) ## Preview as csv conversion |