Skip to content

Instantly share code, notes, and snippets.

@mthrynn
Forked from BretFisher/pcat-install.sh
Created October 17, 2019 16:22
Show Gist options
  • Select an option

  • Save mthrynn/27861b191acd0ee3ecea033efa790872 to your computer and use it in GitHub Desktop.

Select an option

Save mthrynn/27861b191acd0ee3ecea033efa790872 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 system with 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