bashrc & zshrc: use all cores for make.

This commit is contained in:
Mikaela Suomalainen 2014-05-04 16:43:24 +03:00
parent 7b119d2ba2
commit 1e06d4db5f
2 changed files with 12 additions and 0 deletions

6
bashrc
View File

@ -263,6 +263,12 @@ export BEEP=
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
# make
export NPROC=`nproc`
export MAKEFLAGS="-j$NPROC"
export MAKE="make $MAKEFLAGS"
alias make="make $MAKEFLAGS"
##### Aliases RJ706I #####
# To get sudo work with aliases.

6
zshrc
View File

@ -201,6 +201,12 @@ export BEEP=
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
# make
export NPROC=`nproc`
export MAKEFLAGS="-j$NPROC"
export MAKE="make $MAKEFLAGS"
alias make="make $MAKEFLAGS"
##### Aliases RJ706I #####
# To get sudo work with aliases.