diff --git a/bashrc b/bashrc index 62bed253..4d5a82d4 100644 --- a/bashrc +++ b/bashrc @@ -267,7 +267,7 @@ export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx if [[ $UNAME != Darwin ]]; then export NPROC=`nproc` else - export NPROC=`sysctl -n hw.cpu` + export NPROC=`sysctl -n hw.ncpu` fi export MAKEFLAGS="-j$NPROC" diff --git a/zshrc b/zshrc index 46e781a7..7d5e65c8 100644 --- a/zshrc +++ b/zshrc @@ -205,7 +205,7 @@ export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx if [[ $UNAME != Darwin ]]; then export NPROC=`nproc` else - export NPROC=`sysctl -n hw.cpu` + export NPROC=`sysctl -n hw.ncpu` fi export MAKEFLAGS="-j$NPROC"