If you want your cat output to be colorized it’s relatively simple. If you already have python and pip installed then you’re in luck, but if you don’t then you’ll need them. Then just use pip install pygments and you can use pygmentize script.sh to get syntax highlighted cat output. I’ve set an alias in my rc file as alias pat = 'pygmentize -g' since I think replacing cat systemically could potentially cause some problems. On my system it looks like this:

Pygments