mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: ePUB file mime-type matching for the opener rule
This commit is contained in:
parent
bf1c325d00
commit
d1d666a09c
2 changed files with 3 additions and 5 deletions
|
|
@ -176,7 +176,7 @@ rules = [
|
|||
{ mime = "{audio,video}/*", fg = "magenta" },
|
||||
|
||||
# Archives
|
||||
{ mime = "application/*zip", fg = "red" },
|
||||
{ mime = "application/?(g)zip", fg = "red" },
|
||||
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "red" },
|
||||
|
||||
# Documents
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ rules = [
|
|||
{ mime = "{audio,video}/*", use = [ "play", "reveal" ] },
|
||||
{ mime = "inode/x-empty", use = [ "edit", "reveal" ] },
|
||||
|
||||
{ mime = "application/*zip", use = [ "extract", "reveal" ] },
|
||||
{ mime = "application/?(g)zip", use = [ "extract", "reveal" ] },
|
||||
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", use = [ "extract", "reveal" ] },
|
||||
|
||||
{ mime = "application/json", use = [ "edit", "reveal" ] },
|
||||
|
|
@ -114,7 +114,7 @@ previewers = [
|
|||
# PDF
|
||||
{ mime = "application/pdf", run = "pdf" },
|
||||
# Archive
|
||||
{ mime = "application/*zip", run = "archive" },
|
||||
{ mime = "application/?(g)zip", run = "archive" },
|
||||
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", run = "archive" },
|
||||
# Font
|
||||
{ mime = "font/*", run = "font" },
|
||||
|
|
@ -191,5 +191,3 @@ sort_reverse = false
|
|||
|
||||
[log]
|
||||
enabled = false
|
||||
|
||||
[headsup]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue