if [ "$TERM" = "xterm" ]; then renice 19 $$ > /dev/null fi
On a related note: something I dislike about the kernel developers' attitude is how the arguments are twisted. When it was about kicking out devfs, the mantra was "policy doesn't belong in the kernel". Now it is almost the opposite, because "user space is a mess". But I guess that is what you get from a model based on benevolent dictatorship (quote by Linus Torvalds).