From e8662124daeab7fe4d2be5bef0043a5cd915bb1f Mon Sep 17 00:00:00 2001 From: lace <> Date: Thu, 8 Jan 2009 12:12:17 +0000 Subject: [PATCH] +function n --- .bashrc | 1 + 1 file changed, 1 insertion(+) 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 -- 1.8.3.1