Files
oam/knowledge base/bat.md
2024-05-08 18:52:58 +02:00

766 B

Title

A cat(1) clone with syntax highlighting and Git integration.

  1. TL;DR
  2. Further readings
    1. Sources

TL;DR

Installation and configuration
apt install 'bat'
brew install 'bat'
dnf install 'bat'
zypper install 'bat'

bat --config-file
bat --generate-config-file
Usage
bat 'path/to/file'
bat 'path/to/file' --paging 'never' --theme="TwoDark"

bat --list-themes

Further readings

Sources