bat

A cat clone with syntax highlighting & Git integration — bat config.

config
 

How to use it

  1. Save the generated file as ~/.config/bat/config
  2. On Debian/Ubuntu the binary is batcat (config path is the same; or set $BAT_CONFIG_PATH).
  3. Preview themes with bat --list-themes and syntaxes with bat --list-languages.
  4. Tip: set BAT_THEME in your shell so tools like delta share bat’s theme.