Skip to content

Instantly share code, notes, and snippets.

@ravnoor
Forked from BretFisher/pcat-install.sh
Created September 7, 2020 03:40
Show Gist options
  • Save ravnoor/bce8035966de91360265114a1b1af0d8 to your computer and use it in GitHub Desktop.
Save ravnoor/bce8035966de91360265114a1b1af0d8 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