Last active
August 29, 2015 14:05
-
-
Save viegelinsch/6f5a222bcfaa39c1d234 to your computer and use it in GitHub Desktop.
colorful less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*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