Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat!: Match the behaviour of Yazi's extract command
Breaking changes: - You can no longer configure the extract behaviour of the plugin. All extractions will now automatically rename the new files if there are existing files with the same name. The behaviour is the same as Yazi's extract command. There is no way to change this behaviour due to how Lua's os.rename works, where it cannot overwrite a file if it already exists. Attempting to rename a file to an existing file will result in an error that cannot be bypassed by passing an argument to the function. - Removed the extract behaviour configuration option. Existing configurations that still have that option will just have no effect. - The way the plugin works now is very similar to Yazi's extract command, but it is augmented with the ability to skip directories in the extracted archive. - Do note that despite the behaviour of the plugin's extraction of archives being the same as Yazi's, the plugin does not use Yazi's extract command directly, and instead implements its own version. Fixes #4.
- Loading branch information