mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 03:02:52 +01:00
bashrc & zshrc: use all cores for make.
This commit is contained in:
parent
7b119d2ba2
commit
1e06d4db5f
6
bashrc
6
bashrc
@ -263,6 +263,12 @@ export BEEP=
|
|||||||
export CLICOLOR=1
|
export CLICOLOR=1
|
||||||
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
|
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
|
||||||
|
|
||||||
|
# make
|
||||||
|
export NPROC=`nproc`
|
||||||
|
export MAKEFLAGS="-j$NPROC"
|
||||||
|
export MAKE="make $MAKEFLAGS"
|
||||||
|
alias make="make $MAKEFLAGS"
|
||||||
|
|
||||||
##### Aliases RJ706I #####
|
##### Aliases RJ706I #####
|
||||||
|
|
||||||
# To get sudo work with aliases.
|
# To get sudo work with aliases.
|
||||||
|
6
zshrc
6
zshrc
@ -201,6 +201,12 @@ export BEEP=
|
|||||||
export CLICOLOR=1
|
export CLICOLOR=1
|
||||||
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
|
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
|
||||||
|
|
||||||
|
# make
|
||||||
|
export NPROC=`nproc`
|
||||||
|
export MAKEFLAGS="-j$NPROC"
|
||||||
|
export MAKE="make $MAKEFLAGS"
|
||||||
|
alias make="make $MAKEFLAGS"
|
||||||
|
|
||||||
##### Aliases RJ706I #####
|
##### Aliases RJ706I #####
|
||||||
|
|
||||||
# To get sudo work with aliases.
|
# To get sudo work with aliases.
|
||||||
|
Loading…
Reference in New Issue
Block a user