Replies: 1 comment
-
You can just override the yazi/yazi-config/preset/yazi-default.toml Lines 50 to 53 in 98a5828 Here's an example with [opener]
extract = [
{ run = 'ouch d "$@"', desc = "Extract here", for = "unix" },
{ run = 'ouch d %*', desc = "Extract here", for = "windows" }
] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What system are you running Yazi on?
Linux (NixOS) X11
What terminal are you running Yazi in?
wezterm 0-unstable-2025-06-24
yazi --debug
outputDescribe the question
Is there any way for me to change the program used for all kinds of archive files? Currently I run into issues with .rar files where it gets stuck at 99% and opening the task page shows me an error about 7zip failing when trying to extract .rar files similar to the issue shown on this similar discussion post. I would like to just bypass the issue by having Yazi use unar which ask never given me issues with any kind of archive file and has just been a great experience overall.
Could someone show me how this would be possible within the Yazi configuration file (yazi.toml)? After reading through the docs site, it seems like my only option would be to just make an alternate open entry for every single type of archive file but using unar as the command instead? What if I wanted to unarchive multiple selected files? Basically, is there a simple way I could just change the program/command used for all types of archive files within Yazi?
EDIT: I should mention that the issue about being unable to migrate my configuration is because I use home-manager on NixOS to control my Yazi configuration so I can use it on multiple different systems so that is why it is showing it as being read-only.
Anything else?
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions