X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=701f11e536cec95bebe093c28a327e943f090971;hp=90c551855bbf88f5334b05a204830aa9cad6927e;hb=e8662124daeab7fe4d2be5bef0043a5cd915bb1f;hpb=92a6d9b624bbbcb8ba76a76c6719102f50a4d1c8 diff --git a/.bashrc b/.bashrc index 90c5518..701f11e 100644 --- a/.bashrc +++ b/.bashrc @@ -320,6 +320,7 @@ function gdbcvscheckout {(set -ex );} function uri_escape { perl -MURI::Escape -le '$_=<>;chomp;print uri_escape $_;'; }; function uri_unescape { perl -MURI::Escape -le '$_=<>;chomp;print uri_unescape $_;'; }; +function n { if [ "$1" = "-p" ];then renice +19 "$@";ionice -c3 "$@";else nice -n19 ionice -c3 "$@";fi }; ulimit -S -c 0 set +H