mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-23 21:32:18 +08:00
6 lines
144 B
Fish
6 lines
144 B
Fish
# beautify json string
|
|
# use : pybeautifyjson '{"foo": "lorem", "bar": "ipsum"}'
|
|
function pybeautifyjson
|
|
echo $argv | _python -mjson.tool
|
|
end
|