From: lace <> Date: Thu, 8 Jan 2009 12:12:17 +0000 (+0000) Subject: +function n X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=e8662124daeab7fe4d2be5bef0043a5cd915bb1f +function n --- 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