marcus-g
5/17/2017 - 6:13 AM

Syntax highlighting for shell when using cat. Requires http://pygments.org/

Syntax highlighting for shell when using cat. Requires http://pygments.org/

alias ccat='pygmentize -g' # pygmented cat output

# pygmented and line numbered cat
alias ccat='pygmentize -g -O style=colorful,linenos=1'