Skip to content

Conversation

@kevinoid
Copy link
Contributor

p7zip provides 7zr(1) in addition to 7za(1) and 7z(1). 7zr behaves like 7z with the exception that it only supports the 7z, LZMA, and XZ formats.

Since 7-Zip 21.01 alpha, the 7-Zip project provides a command-line version of 7-Zip for Linux, 7zz(1). It shares nearly all of the command-line options and syntax of the p7zip port.

This PR applies the current completions for 7z to 7zr and 7zz.

Note: There are a few minor differences between 7zz and the others (e.g. 7zz does not support -mh* or -ms*) which will can be addressed by subsequent work.

Thanks for considering,
Kevin

@kevinoid
Copy link
Contributor Author

Note: ci/pre-commit failed due to gitlint complaining about the line with https://sourceforge.net/p/sevenzip/discussion/45797/thread/d401ab2966/ being too long. Let me know if you want me to do anything about that.

@kevinoid
Copy link
Contributor Author

I added a commit to complete 7zzs (a statically-linked version of 7zz included in the Linux 7-Zip downloads) as well.

kevinoid added 2 commits June 25, 2022 18:59
p7zip provides [7zr(1)] in addition to [7za(1)] and [7z(1)].  7zr
behaves like 7z with the exception that it only supports the 7z, LZMA,
and XZ formats.

Since [7-Zip 21.01 alpha], the 7-Zip project provides a command-line
version of 7-Zip for Linux, [7zz(1)].  It shares nearly all of the
command-line options and syntax of the p7zip port.

Apply the current completions for 7z to 7zr and 7zz.  Note that there
are a few minor differences (e.g. 7zz does not support `-mh*` or
`-ms*`) which will need to be addressed by subsequent work.

[7-Zip 21.01 alpha]: https://sourceforge.net/p/sevenzip/discussion/45797/thread/d401ab2966/
[7z(1)]: https://github.com/jinfeihan57/p7zip/blob/v17.04/man1/7z.1
[7za(1)]: https://github.com/jinfeihan57/p7zip/blob/v17.04/man1/7za.1
[7zr(1)]: https://github.com/jinfeihan57/p7zip/blob/v17.04/man1/7zr.1
[7zz(1)]: https://manpages.debian.org/testing/7zip/7zz.1.en.html

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
In addition to 7zz, 7-Zip also provides a binary named 7zzs in their
downloads for Linux.  7zzs is a statically-linked version of 7zz.
Apply completions to it as well.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
@scop scop merged commit f575693 into scop:master Jun 27, 2022
@scop
Copy link
Owner

scop commented Jun 27, 2022

Thanks! Added the .gitignore bits that I guess went unnoticed from my previous comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants