dotfiles/tools/benice
2017-10-31 16:52:30 +00:00

9 lines
118 B
Bash
Executable file

#!/bin/bash
set -e
IONICE="ionice -c3"
if [[ "$OSTYPE" == "darwin"* ]]; then
IONICE=""
fi
$IONICE nice -n20 "$@"