How do I keep colors when piping "jq" output to "less"?
I have a simple json file and if I pipe the output of "jq" into "less", the colors get removed. This works: # yey, lots of colors jq "." /tmp/myfile.json This doesn't work: # ugly output :( , no colors jq "." /tmp/myfile.json | less -R Any ideas on how to make "less" keep the colors?