Add the pj function to easily prettify JSON.

This commit is contained in:
Steve Losh 2010-04-30 10:25:30 -04:00
commit 1df9ea8c28

View file

@ -17,3 +17,8 @@ export LC_CTYPE=en_US.UTF-8
function pman() {
man $1 -t | open -f -a Preview
}
## pretty JSON
function pj() {
python -mjson.tool
}