in terminal
apt-get install pygments
in case the 'binary' pygmentize is not found
- Download the most recent tarball from the here
- Unpack the tarball
sudo python setup.py install
in ~/.bashrc or ~/.zhsrc
alias cat="pygmentize -O style=monokai -f console256 -g"
credits : based on this article, don't really understand the language but good stuff nevertheless