From 71179bc54871ea4fba0855c40a8fe0f7269a723c Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Fri, 23 Jul 2021 13:47:01 -0700 Subject: [PATCH] Add json prettier aliases --- base/.config/bash/bashrc.d/aliases.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/base/.config/bash/bashrc.d/aliases.sh b/base/.config/bash/bashrc.d/aliases.sh index 69f206b..c9801b3 100644 --- a/base/.config/bash/bashrc.d/aliases.sh +++ b/base/.config/bash/bashrc.d/aliases.sh @@ -17,6 +17,7 @@ alias wget-opendir='wget --recursive --level 0 --continue --no-clobber \ alias numfiles='find . -maxdepth 1 -type f | wc -l' alias take='sudo chown $(whoami):$(whoami) ' +alias pretty_json='jq --compact-output | prettier --parser json | bat --language json' if [[ $(uname) == Linux ]]; then alias ls='ls --color=auto'