mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
Add Curl Plugin
This commit is contained in:
parent
e55c715508
commit
4b0d5716da
1 changed files with 5 additions and 0 deletions
5
plugins/curl/curl.plugin.zsh
Normal file
5
plugins/curl/curl.plugin.zsh
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
alias jcurl=jsoncurl
|
||||||
|
function jsoncurl()
|
||||||
|
{
|
||||||
|
curl -s $1 |python -m json.tool
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue