Files
vim-ale/bat
AJ ONeal da8e2a5864 add bat
2020-07-05 01:12:07 +00:00
..
2020-07-05 01:12:07 +00:00
2020-07-05 01:12:07 +00:00
2020-07-05 01:12:07 +00:00

title, homepage, tagline, description
title homepage tagline description
bat https://github.com/sharkdp/bat bat: A cat(1) clone with syntax highlighting and Git integration. `bat` is pretty much what `cat` would be if it were developed today in the world of Markdown, git, etc.

How to alias as cat

Update your .bashrc, .zshrc, or .profile

alias cat="bat --style=plain"

How to change the default behavior

Take a look at the config options:

bat --help

Check to see where your config file is:

echo 'N' | bat --generate-config-file

Edit the config file:

~/.config/bat/config:

# no numbers or headers, just highlighting and such
--style="plain"