Syntax highlighting in less - Big thanks for the author of this blog post for making the contribution!
So what you do is:
a) you install the highlighter
apt-get install source-highlight
b) you enable less to use it by adding the following lines to your ~/.profile
export LESSOPEN="| /usr/share/source-highlight/src-hilite-lesspipe.sh %s"
export LESS=' -R '
And believe me: life is really good again :)
No comments:
Post a Comment