fish/functions/pj.fish @ c0d31d738157 default tip

More
author Steve Losh <steve@stevelosh.com>
date Mon, 02 Mar 2026 13:12:13 -0500
parents 6c4c335faf47
children (none)
function pj -d "Prettify JSON"
    if test "$argv[1]" = "-C"
        # no color
        python3 -m json.tool
    else
        python3 -m json.tool | pygmentize -l json
    end
end