compress.yazi icon indicating copy to clipboard operation
compress.yazi copied to clipboard

Reduce the use of programs, default to `p7zip` on unix

Open v3natio opened this issue 5 months ago • 1 comments

As the title suggests, most operations can be done using the 7z command. Archiving as zip, or tar doesn't require those commands.

E.g.

# compress into tar
7z a -ttar test.tar test_1.toml test_2.toml ...
# compress into zip
7z a -ttar test.zip test_1.toml test_2.toml ...

Let me know if there's a specific reason, or cons to this approach. Otherwise I'm happy to contribute a PR.

v3natio avatar Sep 26 '24 15:09 v3natio