]> Sergey Matveev's repositories - nnn.git/commitdiff
Add old 1997-2003 .doc and .xls support
authoramalgame21 <93383215+amalgame21@users.noreply.github.com>
Sat, 25 Feb 2023 09:52:33 +0000 (09:52 +0000)
committerGitHub <noreply@github.com>
Sat, 25 Feb 2023 09:52:33 +0000 (09:52 +0000)
plugins/preview-tui

index 1842e42cbbd4e460595c22b8c1c4c623813a7e0c..3fd5e862ff50e2b701cd3aefccd79732b844aad1 100755 (executable)
@@ -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