summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/parameters2
-rw-r--r--hooks/post-update4
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/*