From a3b7dd0d896cf77982a0b3cbf864e88d19a7858e Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 29 Sep 2016 15:23:35 +0900 Subject: [PATCH] Add some alias to always use nice --- shrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/shrc b/shrc index c0f371c..d0a99b6 100755 --- a/shrc +++ b/shrc @@ -299,6 +299,13 @@ alias pu=pushd __safe_alias sudo="sudo " # use aliases through sudo __safe_alias sudoe="sudoedit" +__safe_alias make="nice make" +__safe_alias brew="nice brew" +__safe_alias gcc="nice gcc" +__safe_alias go="nice go" +__safe_alias git="nice git" +__safe_alias javac="nice javac -J-Duser.language=en" + alias rand="echo \$RANDOM" alias pycalc="python -i -c 'from math import *' " __safe_alias py3=python3 @@ -306,7 +313,6 @@ __safe_alias py2=python2 __safe_alias ipy=ipython __safe_alias ipy3=ipython3 __safe_alias ipy2=ipython2 -__safe_alias javac="javac -J-Duser.language=en" __safe_alias rl=rlwrap __safe_alias igosh=gosh-rl # Sometimes SHELL cannot be used. For example, when running bash inside zsh