From da69b5a9335d9f87cb77c2e147a27aceb1cb3947 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 19 Apr 2015 16:47:48 -0400 Subject: [PATCH] ctar fixes --- shells/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shells/zshrc b/shells/zshrc index b30f07c..22d92ca 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -123,7 +123,7 @@ alias -g G='|& ag' alias -g AW='austenwares.com' export FZF_COMPLETION_OPTS='--no-mouse -m -1 -x' function ctar(){ - tar -cf - $@|pv -cN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|pv -cN gzip|gzip|pv -cN dest + tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|pv -WcN gzip|gzip|pv -WcN dest } function pcat(){ pygmentize -f terminal "$1" | less -R