nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4dc70f4a3ff302449a098c60595af8b57e08736e
parent a06ff83c22a4fa05fa27212e2d4bb8007c637f74
Author: Terminator X <engineerarun@gmail.com>
Date:   Sun, 17 Oct 2021 17:51:29 +0530

Merge pull request #1198 from stelgenhof/master

Add 'font' mime-type registry check for preview-tui plugin
Diffstat:
Mplugins/preview-tui | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/preview-tui b/plugins/preview-tui @@ -229,7 +229,7 @@ handle_mime() { image/*) generate_preview "$cols" "$lines" "$1" "image" ;; video/*) generate_preview "$cols" "$lines" "$1" "video" ;; audio/*) generate_preview "$cols" "$lines" "$1" "audio" ;; - application/font*|application/*opentype) generate_preview "$cols" "$lines" "$1" "font" ;; + application/font*|application/*opentype|font/*) generate_preview "$cols" "$lines" "$1" "font" ;; */*office*|*/*document*) generate_preview "$cols" "$lines" "$1" "office" ;; application/zip) fifo_pager unzip -l "$1" ;; text/troff)