diff --git a/shells/zshrc b/shells/zshrc index 960f428..044927a 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -43,7 +43,7 @@ function rsh(){ cat /home/stonewareslord/syncthing/shared/ips return 1 fi - ADDR=$(cat /home/stonewareslord/syncthing/shared/ips | sed -rne "s/^$1: //p") + ADDR=$(cat /home/stonewareslord/syncthing/shared/ips | sed -rne "s/^$1: //pi") shift if [ -z $ADDR ] ; then echo "Hostname not found" @@ -142,7 +142,8 @@ alias -g L="2>&1|less" alias -g G='|& ag' export FZF_COMPLETION_OPTS='--no-mouse -m -1 -x' function ctar(){ - tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|gzip|pv -WcN dest + tar -cf - $@|pv -WcN tar|gzip|pv -WcN gzip + #tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|gzip|pv -WcN dest #tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|gzip|pv -WcN dest } function offline(){