Skip to content

Instantly share code, notes, and snippets.

@steevehook
Forked from BretFisher/pcat-install.sh
Created February 3, 2018 12:44
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 steevehook/c5d9778b7e654005dffb5adda00a9419 to your computer and use it in GitHub Desktop.
Save steevehook/c5d9778b7e654005dffb5adda00a9419 to your computer and use it in GitHub Desktop.
On macOS: Install pygmentize and alias pcat for shell code syntax highlighting
# first install pygmentize to the mac OS X or macOS system with the built-in python
sudo easy_install Pygments
# then add alias to your ~/.bash_profile or ~/.bashrc or ~/.zshrc etc.
alias pcat='pygmentize -f terminal256 -O style=native -g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment