# Making this a gist so I don't waste 20 minutes trying to find it again.... :) | |
# | |
# Setup: | |
# npm install -g json && pip install pygments | |
# Add source ~/path/to/jsonpp.sh to your shell startup/profile files. | |
# | |
# Credit: | |
# http://benw.me/posts/colourized-pretty-printed-json-with-curl/ | |
# | |
# Usage: | |
# curl -s -L http://t.co/tYTq5Pu | jsonpp | |
alias jsonpp="json | pygmentize -l json" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment