diff --git a/.zsh/exports.zsh b/.zsh/exports.zsh index dc670c7..5eb1465 100644 --- a/.zsh/exports.zsh +++ b/.zsh/exports.zsh @@ -14,3 +14,9 @@ export GREP_COLOR='1;32' # language export LC_ALL=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 + +# Make options +if [[ -r /proc/cpuinfo ]]; then + export MAKEOPTS=-j$(($(grep -c '^processor' /proc/cpuinfo) + 1)) +fi + diff --git a/.zsh/setopt.zsh b/.zsh/setopt.zsh index 375972f..1eb491d 100644 --- a/.zsh/setopt.zsh +++ b/.zsh/setopt.zsh @@ -15,7 +15,3 @@ setopt AUTO_CD # Turn off flow control setopt noflowcontrol -# Make options -if [[ -r /proc/cpuinfo ]]; then - export MAKEOPTS=-j$(($(grep -c '^processor' /proc/cpuinfo) + 1)) -fi