diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-11-01 12:31:25 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-11-01 12:31:25 +0900 |
commit | ab9e499e8a6ad578af4cefef79268649685f9510 (patch) | |
tree | 16a6a7ac30e46285216ddf1813176adbeaf62bec /ranger/.config/ranger/scope.sh | |
parent | 1d17c129a2bbd59a11b223ace4a4307f700dabab (diff) | |
download | dotfiles-ab9e499e8a6ad578af4cefef79268649685f9510.tar.gz |
Integrate email viewing to ranger
Diffstat (limited to 'ranger/.config/ranger/scope.sh')
-rwxr-xr-x | ranger/.config/ranger/scope.sh | 3 |
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 |