diff --git a/lib/misc.zsh b/lib/misc.zsh index b1a14140c..6641ca4ea 100644 --- a/lib/misc.zsh +++ b/lib/misc.zsh @@ -23,6 +23,11 @@ function pj() { python -mjson.tool } +## curl JSON +function cj() { + curl -sS $@ | pj +} + ## Open current directory alias oo='open .'