From: amalgame21 <93383215+amalgame21@users.noreply.github.com> Date: Sat, 25 Feb 2023 09:52:33 +0000 (+0000) Subject: Add old 1997-2003 .doc and .xls support X-Git-Tag: v4.8~9^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=1dc4c96139877760dd8a390ff62df82fbca77f83;p=nnn.git Add old 1997-2003 .doc and .xls support --- diff --git a/plugins/preview-tui b/plugins/preview-tui index 1842e42c..3fd5e862 100755 --- a/plugins/preview-tui +++ b/plugins/preview-tui @@ -263,7 +263,7 @@ handle_mime() { video/*) generate_preview "$cols" "$lines" "$1" "video" ;; audio/*) generate_preview "$cols" "$lines" "$1" "audio" ;; application/font*|application/*opentype|font/*) generate_preview "$cols" "$lines" "$1" "font" ;; - */*office*|*/*document*) generate_preview "$cols" "$lines" "$1" "office" ;; + */*office*|*/*document*|*/*msword|*/*ms-excel) generate_preview "$cols" "$lines" "$1" "office" ;; application/zip) fifo_pager unzip -l "$1" ;; text/troff) if exists man; then