How to view files with syntax highlight? Use bat
instead of cat
!
https://github.com/sharkdp/bat
Syntax highlighting
bat
supports syntax highlighting for a large number of programming and markup
languages:
Git integration
bat
communicates with git
to show modifications with respect to the index
(see left side bar):
Show non-printable characters
You can use the -A
/--show-all
option to show and highlight non-printable
characters:
... and many other features