Rick Cogley's Tech Logr

Short Technical Laser Bursts %%

RC Logr 20200719 181054

Sunday, 19 Jul, 2020

Today I sat and replaced cat with «bat». Bat is a fast (written in Rust) cat clone with syntax highlighting for programming and markup languages, integration with your $PAGER, and git index awareness. 🔥

Set defaults in a config stored in ~/.config/bat/config, which looks something like:

1
2
3
4
5
--theme="Dracula"
--style="numbers,changes,header"
--paging=always
--pager="less --quit-if-one-screen --tabs=1"
--show-all

I use most as my $PAGER and it appears to not play well with bat, so, setting the --pager in the config was required.

RC Logr 20200719 181054 - Today I sat and replaced cat … Rick Cogley
Back to Home Tweet Link