Last active
December 14, 2015 20:29
-
-
Save rtt/5144366 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/usr/bin/env bash | |
| sudo pip install pygments simplejson | |
| echo "alias ppjson='python -c \"import simplejson; import sys; print simplejson.dumps(simplejson.loads(sys.stdin.read()), indent=4)\" | pygmentize -f console -l js'" >> ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment