X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=35df518ca878df09594c8ad6a069c36089c352e2;hp=7699036915aa7537a4bee92c4f18004d25c3d4c6;hb=d5e6966219376a6704589bf4bfc3f9496bff4ff4;hpb=cbf98eadbcb5cd378a0cc26ffd00bcd783d2649c diff --git a/.bashrc b/.bashrc index 7699036..35df518 100644 --- a/.bashrc +++ b/.bashrc @@ -243,7 +243,7 @@ function finame { find . -false ` `; } function mkcd { mkdir -p "$1"; cd "$1"; } function pushdmk { mkdir -p "$1"; pushd "$1"; } -function rsync {(unset rsync; nice -n20 rsync -v -e ssh --progress --stats --inplace --rsync-path='nice -n20 rsync' "$@"; );} +function rsync {(unset rsync; nice -n20 rsync -v -e ssh --progress --stats --inplace --rsync-path='nice -n20 ionice -c3 rsync' "$@"; );} function tohex { od -An -txC|tr -d '\n '|tr 'a-f' 'A-F';echo; } function edall { find -type f|while read -r i;do @@ -359,6 +359,7 @@ else IONICE="" fi function n { if [ "$1" = "-p" ];then renice +19 "$@";test -n "$IONICE" && $IONICE "$@";else nice -n19 $IONICE "$@";fi }; +alias fetchmail='n fetchmail' function rpmsrclist { if [ -z "$*" ]; then