-
-
Save sbstp/ab209417cb8466e3b637 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Requires pygments (the python library) | |
# Installation: | |
# pip install pygments | |
# Download the script and make it executable. | |
# Usage: | |
# code <filename> | |
pygmentize -f terminal $1 | less -R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment