install
sudo aptitude install source-highlight
configure
add to .bashrc:
export LESSOPEN='| /usr/share/source-highlight/src-hilite-lesspipe.sh %s'
export LESS=' -R '
sudo aptitude install source-highlight
add to .bashrc:
export LESSOPEN='| /usr/share/source-highlight/src-hilite-lesspipe.sh %s'
export LESS=' -R '