diff --git a/shells/zshrc b/shells/zshrc index ada598c..0c773a9 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -143,7 +143,7 @@ if test -f /etc/gentoo-release; then cd ->/dev/null echo '\a' } - alias upgrade='sudo emerge --update --newuse --with-bdeps=y --deep --verbose -t -a --keep-going=y --verbose-conflicts -A @world;echo \\a' + alias upgrade='sudo emerge --update --newuse --with-bdeps=y --deep --verbose --tree --keep-going=y --verbose-conflicts --alert --ask @world;echo \\a' elif test -f /etc/lsb-release; then # Ubuntu alias install='sudo apt-get --show-progress install' @@ -200,10 +200,13 @@ bp(){ apush(){ adb push $* & pv -d $! } +ltar(){ + tar -cf - $@|pv -WcN tar|xz|pv -WcN lzma + #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 +} ctar(){ 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 } offline(){ if [ ! -z "$@" ] ; then