oh-my-zsh/plugins/curl/curl.plugin.zsh

11 lines
255 B
Bash
Raw Normal View History

alias curlj=jsoncurl
2015-02-25 11:33:26 +00:00
function jsoncurl()
{
curl -s $1 |python -m json.tool
}
alias curlh="curl -siv -o /dev/null"
alias curls="curl -O"
alias curlt="curl -o /dev/null -s -w %{time_total}'\\n'"
alias curlrc="curl -s -o /dev/null -w %{http_code}'\\n'"