diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-11-10 14:06:03 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-11-10 14:06:03 +0100 |
| commit | a8d8a9d8efd756e7dfb84723d1cbc43e438413a2 (patch) | |
| tree | 5960056e6253a7501b327a3f6b941b35a5f0db7e /zsh/functions | |
| parent | fde341f840d1b1d88affda043d1153a7f78f5421 (diff) | |
Add prettify JSON function
Diffstat (limited to 'zsh/functions')
| -rw-r--r-- | zsh/functions/prettify-json.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zsh/functions/prettify-json.zsh b/zsh/functions/prettify-json.zsh new file mode 100644 index 0000000..f2d30ff --- /dev/null +++ b/zsh/functions/prettify-json.zsh @@ -0,0 +1,3 @@ +prettify-json () { + pbpaste | jq | pbcopy +} |