Created
March 29, 2017 09:09
-
-
Save conformist-mw/bf690b1dd5b373ab983504e0d0d81c6b to your computer and use it in GitHub Desktop.
added highlights to 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
sudo apt install source-highlight | |
cat >> ~/.bashrc <<EOF | |
export LESSOPEN="| /usr/share/source-highlight/src-hilite-lesspipe.sh %s" | |
export LESS=' -R ' | |
EOF | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment