diff --git a/zshrc b/zshrc index 00180d0..f658ee4 100644 --- a/zshrc +++ b/zshrc @@ -223,7 +223,7 @@ __has_command gpg2 && alias gpg=gpg2 if [ "$(uname -s)" = "Darwin" ]; then export MAKEFLAGS="-j$(($(sysctl -n machdep.cpu.thread_count) * 2))" -elif [ "$(uname -s)" = "NetBSD"; then +elif [ "$(uname -s)" = "NetBSD" ]; then export MAKEFLAGS="-j$(($(sysctl -n hw.ncpu) * 2))" elif __has_command nproc; then export MAKEFLAGS="-j$(($(nproc) * 2))"