From a8d8a9d8efd756e7dfb84723d1cbc43e438413a2 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Wed, 10 Nov 2021 14:06:03 +0100 Subject: Add prettify JSON function --- zsh/functions/prettify-json.zsh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 zsh/functions/prettify-json.zsh (limited to 'zsh') 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 +} -- cgit From d1d7b859086e2403f07592d44e3aeeefd5c2232e Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Wed, 10 Nov 2021 14:06:16 +0100 Subject: Ignore python files in arbol --- zsh/modules/aliases.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zsh') diff --git a/zsh/modules/aliases.zsh b/zsh/modules/aliases.zsh index 6ae0fcc..0f69a9e 100644 --- a/zsh/modules/aliases.zsh +++ b/zsh/modules/aliases.zsh @@ -31,7 +31,7 @@ alias gp='git push' alias grm="/usr/local/bin/gm" # JS friendly tree -alias arbol="tree -I 'node_modules|bower_components|doc'" +alias arbol="tree -I 'node_modules|bower_components|doc|__pycache__|\.pyc'" # Load Script Version Managers because they slow alias enable-nvm='source $(brew --prefix nvm)/nvm.sh' -- cgit