From 52842e1a64cd156e0eab2237cbe189450c3d97f3 Mon Sep 17 00:00:00 2001 From: tomit4 Date: Sun, 12 Dec 2021 10:20:10 -0800 Subject: [PATCH] added new alias pjson that will prettify json output --- bashrc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/bashrc.txt b/bashrc.txt index 63eca8e6..f4c9ec77 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -217,6 +217,7 @@ alias git-p="git push" alias xsel="xclip -sel clip" alias catx="cat | xclip -sel clip" alias xclear="echo '' | xclip && xclip -selection clipboard /dev/null" +alias pjson="json_pp | pygmentize -l json" # pipe expected json output through pjson to prettify it alias exifread="exiftool" alias exifrm="exiftool -all=" alias html_pp="hxnormalize -e"