mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Use wildcard for application/ms-cab MIME type
This commit is contained in:
parent
aa7ffb30bd
commit
9c998aac69
3 changed files with 4 additions and 4 deletions
|
|
@ -208,7 +208,7 @@ rules = [
|
|||
# Archives
|
||||
{ mime = "application/{zip,rar,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar}", fg = "red" },
|
||||
{ mime = "application/7z*", fg = "red" },
|
||||
{ mime = "application/ms-cab-compressed", fg = "red" },
|
||||
{ mime = "application/ms-cab*", fg = "red" },
|
||||
|
||||
# Documents
|
||||
{ mime = "application/{pdf,doc,rtf}", fg = "cyan" },
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ rules = [
|
|||
# Archives
|
||||
{ mime = "application/{zip,rar,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar}", fg = "red" },
|
||||
{ mime = "application/7z*", fg = "red" },
|
||||
{ mime = "application/ms-cab-compressed", fg = "red" },
|
||||
{ mime = "application/ms-cab*", fg = "red" },
|
||||
|
||||
# Documents
|
||||
{ mime = "application/{pdf,doc,rtf}", fg = "cyan" },
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ rules = [
|
|||
# Archive
|
||||
{ mime = "application/{zip,rar,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar}", use = [ "extract", "reveal" ] },
|
||||
{ mime = "application/7z*", use = [ "extract", "reveal" ] },
|
||||
{ mime = "application/ms-cab-compressed", use = [ "extract", "reveal" ] },
|
||||
{ mime = "application/ms-cab*", use = [ "extract", "reveal" ] },
|
||||
# JSON
|
||||
{ mime = "application/{json,ndjson}", use = [ "edit", "reveal" ] },
|
||||
{ mime = "*/javascript", use = [ "edit", "reveal" ] },
|
||||
|
|
@ -138,7 +138,7 @@ previewers = [
|
|||
{ mime = "application/{debian-package,redhat-package-manager,rpm}", run = "archive" },
|
||||
{ mime = "application/debian.binary-package", run = "archive" },
|
||||
{ mime = "application/android.package-archive", run = "archive" },
|
||||
{ mime = "application/ms-cab-compressed", run = "archive" },
|
||||
{ mime = "application/ms-cab*", run = "archive" },
|
||||
{ name = "*.{AppImage,appimage}", run = "archive" },
|
||||
# Virtual Disk / Disk Image
|
||||
{ mime = "application/iso9660-image", run = "archive" },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue