Skip to content

Instantly share code, notes, and snippets.

@phyous
Last active June 29, 2017 12:12
Show Gist options
  • Save phyous/5114344 to your computer and use it in GitHub Desktop.
Save phyous/5114344 to your computer and use it in GitHub Desktop.
A script to enable simple pretty printing of json data.
# 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