For all the other issues people have pointed out, this assumes you have `highlight` installed.
Re:Bat: Cat with Syntax Highlighting
by yjftsjthsd-h on Tuesday October 07, 2025 @07:28PM
(#45510247)
As opposed to having bat installed?
alias bat='f(){ cat "$1" | highlight --force -O xterm256 | less -SRNI; }; f'