From f422dcd8c7c066789d9e85ef1a453c3831701e8d Mon Sep 17 00:00:00 2001 From: Brad Date: Fri, 5 Apr 2019 18:45:27 -0500 Subject: [PATCH] This is a basic implementation that works. --- Arch/.bashrc | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Arch/.bashrc b/Arch/.bashrc index d344072..2528284 100644 --- a/Arch/.bashrc +++ b/Arch/.bashrc @@ -47,7 +47,7 @@ alias bashrc='source ~/.bashrc' alias iotop='sudo iotop' alias artistradio='tizonia --spotify-related-artists' alias wifilist='nmcli device wifi list' - +alias cb='xclip -selection clipboard' export PATH=$PATH:~/scripts:/usr/local/go/bin export npm_config_prefix=~/.node_modules export EDITOR='vim' @@ -188,3 +188,21 @@ squish(){ pv $@ | gzip -9 > "$@.gz" fi } + +jsonlint(){ + if [ -z "$@" ] + then + echo "Enter some JSON please" + else + chromium "https:jsonlint.com/?json={$1}" + fi +} + +jsonform(){ + if [ -z "$@" ] + then + echo "Enter a JSON URL please" + else + chromium "https://jsonformatter.curiousconcept.com/#$1" + fi +}