oh-my-zsh/plugins/curl/curl.plugin.zsh
Ismael Puerto d78e5c2f90 modified: README.md
modified:   curl.plugin.zsh
2015-02-25 17:42:41 +01:00

11 lines
255 B
Bash

alias curlj=jsoncurl
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'"