From 2e855f2af068f9dc540b9af3950974a78d57d713 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 27 Mar 2009 17:41:30 +0100 Subject: Set MAKEFLAGS in parameters --- etc/parameters | 2 ++ hooks/post-update | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/etc/parameters b/etc/parameters index 95d22d4..87979d9 100644 --- a/etc/parameters +++ b/etc/parameters @@ -28,6 +28,8 @@ TIMEFMT='%J (%P) - %*E real, %*U user, %*S system' # completion cache for compinit compdump=$ZCACHEDIR/compdump +export MAKEFLAGS=j$(grep -c '^processor' /proc/cpuinfo) + # Add my own executables, if they're not already in the path [[ $path[1] = $HOME/bin ]] || export PATH=$HOME/bin:$PATH diff --git a/hooks/post-update b/hooks/post-update index 5423e06..3ace773 100644 --- a/hooks/post-update +++ b/hooks/post-update @@ -23,10 +23,6 @@ for snippet in $PDIR/*/provides/zsh/*(.N); { echo "source ${snippet/$HOME/\$HOME}" >> $PDIR/zsh/provided/includes } -# A machine rarely gets a new CPU, so why not do this here... -echo export MAKEFLAGS=\ -\"j$(grep -c '^processor' /proc/cpuinfo)\" >> $PDIR/zsh/provided/env - cd $PDIR/zsh/etc zcompile functions.zwc functions/* zcompile completions.zwc completions/* -- cgit v1.2.3