mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
lib/misc: add cj function
This commit is contained in:
parent
8f292a08a9
commit
036ab9aa08
1 changed files with 5 additions and 0 deletions
|
|
@ -23,6 +23,11 @@ function pj() {
|
||||||
python -mjson.tool
|
python -mjson.tool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
## curl JSON
|
||||||
|
function cj() {
|
||||||
|
curl -sS $@ | pj
|
||||||
|
}
|
||||||
|
|
||||||
## Open current directory
|
## Open current directory
|
||||||
alias oo='open .'
|
alias oo='open .'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue