mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
10 lines
255 B
Bash
10 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'"
|