I use this #bash alias all the time to take #JSON from clipboard and put it back, formatted:

`alias fmtjson='pbpaste | jq | pbcopy'`

Follow

@nurkiewicz
So you copy json, and paste to terminal where it replaces previous copied entry for next paste? Interesting

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.