Syntax highlighting in less
-
1 min read
Yes, it’s certainly possible and source code becomes so much easier to read. Try it out by:
- downloading my .lessfilter
- save it as
~/.lessfilter
in your$HOME
- Profit!
Ahem …
Just try it out on a C source file :-)
less -R myfile.c