1
1
Fork 0

zshrc: Derive MAKEFLAGS if we have nproc

This commit is contained in:
Jonathan Schleifer 2021-10-30 13:03:11 +00:00
parent 1e0bf8641a
commit fa1eb19c36

2
zshrc
View file

@ -220,6 +220,8 @@ done
__has_command vim && alias vi=vim
__has_command gpg2 && alias gpg=gpg2
__has_command nproc && export MAKEFLAGS="-j$(($(nproc) * 2))"
make() {
case "$PWD" in
# pkgsrc needs bmake and does not like MAKEFLAGS including -j.