Eclipse RCP
20.09.2010 - 24.09.2010, Hamburg
git
07.10.2010 - 08.10.2010, Essen
19.07.2009

cat command with syntax highlighting

I just realized that pygmentize can be used to show text files on the text console with syntax highlighting. So my latest addition to the ever-growing .profile is:

alias pcat=pygmentize

function pless() {
    pcat "$1" | less -R
}
I'm looking forward to your comments:

Schulungen

Tools

Ralf Ebert | Blog | Tools | cat command with syntax highlighting