dotfiles/tools/benice

9 lines
118 B
Text
Raw Normal View History

2017-02-12 11:47:30 +00:00
#!/bin/bash
2017-10-31 16:52:30 +00:00
set -e
IONICE="ionice -c3"
if [[ "$OSTYPE" == "darwin"* ]]; then
IONICE=""
fi
$IONICE nice -n20 "$@"
2017-02-12 11:47:30 +00:00