summaryrefslogtreecommitdiff
path: root/.bash_defns
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-12-29 16:24:48 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-12-29 16:24:48 -0700
commit7a14b39e2a9ae746f74207038cbb5aa4beff5a05 (patch)
treea825a9f9daa1f5d9ca5a85d4212981ffeb33061d /.bash_defns
parent838461cc6f17a3249dc404be2d8d6a41cbcf7a0d (diff)
downloaddotfiles-7a14b39e2a9ae746f74207038cbb5aa4beff5a05.tar.gz
set MAKEFLAGS for automatic -jN
Diffstat (limited to '.bash_defns')
-rw-r--r--.bash_defns4
1 files changed, 4 insertions, 0 deletions
diff --git a/.bash_defns b/.bash_defns
index 3de56d45..ad542aa6 100644
--- a/.bash_defns
+++ b/.bash_defns
@@ -40,6 +40,10 @@ alias push-develacc-dotfiles-branch="git push \
alias spin-this-host-now='(cd /usr/local/propellor && sudo ./propellor)'
+# --- environment variables
+
+export MAKEFLAGS="-j$((2 * $(nproc)))"
+
# --- more powerful aliases built with shell functions
package-plan-unpack () {