Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking Changes: - Bumped minimum Yazi version to 0.3.0. This is because older Yazi versions don't support the rename and remove commands and hence those commands will not do anything. The rest of the plugin will still work just fine with older Yazi versions. - As with the above change, the installation instructions for versions of Yazi prior to 0.3.0 have been removed to reflect the unsupported status of older Yazi versions. The way to install this plugin is the use the new plugin manager (ya pack) provided by Yazi. - Changed the archive extractor from unarchiver (unar) to 7-zip (p7zip), which provides the 7z or 7zz command. This is to follow Yazi's new dependency on 7-zip for archive extraction instead of unarchiver. The goal of this plugin is to use as few dependencies outside of the ones that Yazi already depends on, so unarchiver has been swapped out for 7-zip, following Yazi's lead. - The default option for the extract behaviour has been changed to rename, instead of skip, to follow the behaviour of Yazi's new extract command (plugin) [https://github.com/sxyazi/yazi/releases/tag/v0.3.0] [sxyazi/yazi#1321]. Non-breaking Changes: - Added a new extract behaviour option called rename_existing to rename the existing files (not the new files being extracted from the archive) when the archive is being extracted. This is added as 7-zip supports this new option, which was not previously supported by unarchiver. - Added preliminary support for Windows. Windows is still far from being fully supported, so pull requests are welcome. - Updated the README to document all the new features and changes.
- Loading branch information