diff --git a/.local/bin/scripts/cj b/.local/bin/scripts/cj new file mode 100755 index 0000000..4a28440 --- /dev/null +++ b/.local/bin/scripts/cj @@ -0,0 +1,2 @@ +#!/bin/sh +cat "$@" | while read -r line; do echo -n "$line" | python -m json.tool 2>/dev/null; done | bat --language json --style numbers