Last active
June 29, 2017 12:12
-
-
Save phyous/5114344 to your computer and use it in GitHub Desktop.
A script to enable simple pretty printing of json data.
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
# Add alias to bash shell | |
echo "alias json='python -mjson.tool'" >> ~/.bashrc | |
# Add alias for zsh shell | |
echo "alias json='python -mjson.tool'" >> ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment