Skip to content

Instantly share code, notes, and snippets.

@viegelinsch
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viegelinsch/6f5a222bcfaa39c1d234 to your computer and use it in GitHub Desktop.
Save viegelinsch/6f5a222bcfaa39c1d234 to your computer and use it in GitHub Desktop.
colorful less
*cool thing* from http://linux-tips.org/article/78/syntax-highlighting-in-less
apt-get install source-highlight
add this on the bottom of .bashrc
# he: some colour for less
export LESSOPEN="| /usr/share/source-highlight/src-hilite-lesspipe.sh %s"
export LESS=' -R '
et voilá ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment