about summary refs log tree commit diff
path: root/ranger/.config/ranger/scope.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/.config/ranger/scope.sh')
-rwxr-xr-xranger/.config/ranger/scope.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/.config/ranger/scope.sh b/ranger/.config/ranger/scope.sh
index a0fb2ec..a34f4d6 100755
--- a/ranger/.config/ranger/scope.sh
+++ b/ranger/.config/ranger/scope.sh
@@ -96,6 +96,9 @@ case "$extension" in
 esac
 
 case "$mimetype" in
+    message/*)
+        mu view "$(realpath "$path")"
+        exit 5;;
     # Syntax highlight for text files:
     text/* | */xml)
         if [ "$(tput colors)" -ge 256 ]; then