Files
ports/textproc/bat-extras/pkg-descr
Adam Weinberger a8c7c7b4e2 textproc/bat-extras: Add port
These are various scripts that use textproc/bat as a colorizer
and pager. The manpage colorization alone is worth the price of
admission.

Various scripts have dependencies, some mandatory and some optional.
The pkg-descr lists them, but I opted not to register DEPENDS on them
as it comes down to each user's personal preference.
2025-03-07 10:43:53 -05:00

26 lines
747 B
Plaintext

A collection of scripts that integrate textproc/bat (a Rust-based uberpager)
with various command-line tools. Note that you'll have to install some
related tools manually if you want them.
batdiff:
Diff a file against the current git index, or diff two files.
Optional: git-delta
batgrep
Quickly search through and highlight files using ripgrep.
Requires: ripgrep
batman:
Colorize manpages (I'm ruined and can never go back to plain manpages).
batpipe:
Drop-in replacement for lesspipe.
batwatch:
Watch for changes in one or more files and display them with bat.
Optional: entr
prettybat:
Reformats and highlights source code.
Requires: prettier, shfmt, blank, clang-format, rustfmt, etc. (as needed)