Skip to content

Instantly share code, notes, and snippets.

@guangrei
Last active November 14, 2018 16:02
Show Gist options
  • Save guangrei/343b656a29bd9219f7f144b8ad7e7041 to your computer and use it in GitHub Desktop.
Save guangrei/343b656a29bd9219f7f144b8ad7e7041 to your computer and use it in GitHub Desktop.
pcat : cat with syntax highlighters
#!/bin/sh
pip install -U Pygments --user
echo "alias pcat='pygmentize -g -O style=colorful,linenos=1'" >> ~/.bashrc
echo "done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment