Created
June 15, 2013 13:32
-
-
Save timofurrer/5788134 to your computer and use it in GitHub Desktop.
cat & less with syntax highlighting!
This file contains hidden or 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
# cat & less with syntax highlighting | |
alias ccat="pygmentize -f terminal256 -O style=native -g" | |
function cless() { | |
ccat "$1" | less -R | |
} |
This file contains hidden or 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
apt-get install pip install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment