fish/functions/pj.fish @ 97e37a4c1138 default tip

More
author Steve Losh <steve@stevelosh.com>
date Tue, 13 Oct 2026 10:31:54 -0400
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