mirror of
https://github.com/ranger/ranger.git
synced 2025-12-06 02:16:17 -06:00
Merge branch 'adam8157/7zz'
Regenerate ranger man page.
This commit is contained in:
@@ -97,7 +97,7 @@ For enhanced file previews (with `scope.sh`):
|
||||
for SVG previews
|
||||
* `ffmpeg`, or `ffmpegthumbnailer` for video thumbnails
|
||||
* `highlight`, `bat` or `pygmentize` for syntax highlighting of code
|
||||
* `atool`, `bsdtar`, `unrar` and/or `7z` to preview archives
|
||||
* `atool`, `bsdtar`, `unrar` and/or `7zz` to preview archives
|
||||
* `bsdtar`, `tar`, `unrar`, `unzip` and/or `zipinfo` (and `sed`) to preview
|
||||
archives as their first image
|
||||
* `lynx`, `w3m` or `elinks` to preview html pages
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
.\" ========================================================================
|
||||
.\"
|
||||
.IX Title "RANGER 1"
|
||||
.TH RANGER 1 ranger-1.9.4 2025-03-03 "ranger manual"
|
||||
.TH RANGER 1 ranger-1.9.4 2025-03-05 "ranger manual"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
||||
.\" way too many mistakes in technical documents.
|
||||
.if n .ad l
|
||||
@@ -240,7 +240,7 @@ previews
|
||||
.IP \- 2
|
||||
\&\f(CW\*(C`highlight\*(C'\fR, \f(CW\*(C`bat\*(C'\fR or \f(CW\*(C`pygmentize\*(C'\fR for syntax highlighting of code
|
||||
.IP \- 2
|
||||
\&\f(CW\*(C`atool\*(C'\fR, \f(CW\*(C`bsdtar\*(C'\fR, \f(CW\*(C`unrar\*(C'\fR and/or \f(CW\*(C`7z\*(C'\fR to preview archives
|
||||
\&\f(CW\*(C`atool\*(C'\fR, \f(CW\*(C`bsdtar\*(C'\fR, \f(CW\*(C`unrar\*(C'\fR and/or \f(CW\*(C`7zz\*(C'\fR to preview archives
|
||||
.IP \- 2
|
||||
\&\f(CW\*(C`bsdtar\*(C'\fR, \f(CW\*(C`tar\*(C'\fR, \f(CW\*(C`unrar\*(C'\fR, \f(CW\*(C`unzip\*(C'\fR and/or \f(CW\*(C`zipinfo\*(C'\fR (and \f(CW\*(C`sed\*(C'\fR) to preview
|
||||
archives as their first image
|
||||
|
||||
@@ -252,7 +252,7 @@ C<highlight>, C<bat> or C<pygmentize> for syntax highlighting of code
|
||||
|
||||
=item -
|
||||
|
||||
C<atool>, C<bsdtar>, C<unrar> and/or C<7z> to preview archives
|
||||
C<atool>, C<bsdtar>, C<unrar> and/or C<7zz> to preview archives
|
||||
|
||||
=item -
|
||||
|
||||
|
||||
@@ -219,6 +219,7 @@ ext xcf, X, flag f = gimp -- "$@"
|
||||
#-------------------------------------------
|
||||
|
||||
# avoid password prompt by providing empty password
|
||||
ext 7z, has 7zz = 7zz -p l "$@" | $PAGER
|
||||
ext 7z, has 7z = 7z -p l "$@" | $PAGER
|
||||
# This requires atool
|
||||
ext ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --list --each -- "$@" | $PAGER
|
||||
|
||||
@@ -64,7 +64,7 @@ handle_extension() {
|
||||
exit 1;;
|
||||
7z)
|
||||
## Avoid password prompt by providing empty password
|
||||
7z l -p -- "${FILE_PATH}" && exit 5
|
||||
7zz l -p -- "${FILE_PATH}" && exit 5
|
||||
exit 1;;
|
||||
|
||||
## PDF
|
||||
|
||||
Reference in New Issue
Block a user