bat-extras

A set of Bash scripts that connect the bat file viewer with grep, man, diff and less.

These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.

1 more ways to get bat-extras

Package managers

About bat-extras

bat-extras adds syntax highlighting from bat to other everyday terminal tasks. batgrep searches files with ripgrep and shows highlighted results, batman renders man pages through bat, batdiff shows a file's changes against the Git index or between two files, and batwatch reprints files when they change.

batpipe is a less preprocessor for viewing more file types in the terminal, and prettybat formats and highlights source code. The scripts are packaged for Homebrew, MacPorts, Arch Linux and Gentoo, and Homebrew users can install individual scripts.

Strengths

  • Highlighted man pages, grep results and diffs
  • Packaged for Homebrew, MacPorts, Arch and Gentoo
  • Scripts can be installed individually

Limitations

  • Requires bat, and some scripts need ripgrep, entr or delta
  • Updates are infrequent

Details

Pricing
FreeFree and open source under the MIT licence.
License
MIT
Developer
eth-p
Platforms
macOS, Linux, Command line
How it runs
Downloadable app
Account
Not required
Works offline
Yes
Best suited for
People who already use bat and want its highlighting in more terminal tools
Last verified
Added
Provenance
Facts checked against the developer's own pages and store listings, 2 sources on file.

Similar software

Related functionality, not necessarily a direct replacement.

Report a wrong fact or a dead link on this listing