touch ~/.zsh_functions
vim ~/.zsh_functions
function jcurl() {
curl -s "$@" | json | pygmentize -l json
}
function tojson(){
json | pygmentize -l json
}
vim ~/.zshrc
source ~/.zsh_functions
jcurl http://ip.jsontest.com/
touch ~/.zsh_functions
vim ~/.zsh_functions
function jcurl() {
curl -s "$@" | json | pygmentize -l json
}
function tojson(){
json | pygmentize -l json
}
vim ~/.zshrc
source ~/.zsh_functions
jcurl http://ip.jsontest.com/