From 4ae61131f415796b49da6e254abbd680a11da633 Mon Sep 17 00:00:00 2001 From: staticsafe Date: Mon, 14 May 2012 21:01:09 -0400 Subject: [PATCH] adding new setopt, thanks #zsh on Freenode and #linode on OFTC. --- .zsh/setopt.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zsh/setopt.zsh b/.zsh/setopt.zsh index 50a1907..375972f 100644 --- a/.zsh/setopt.zsh +++ b/.zsh/setopt.zsh @@ -14,3 +14,8 @@ 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