summaryrefslogtreecommitdiff
path: root/user:hugues/net:foret/KeyBindings.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'user:hugues/net:foret/KeyBindings.zsh')
-rw-r--r--user:hugues/net:foret/KeyBindings.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/user:hugues/net:foret/KeyBindings.zsh b/user:hugues/net:foret/KeyBindings.zsh
index 5d88108..626ca3f 100644
--- a/user:hugues/net:foret/KeyBindings.zsh
+++ b/user:hugues/net:foret/KeyBindings.zsh
@@ -10,7 +10,7 @@
__nproc ()
{
- NPROC=${${2:+"$(( $(echo $MAKEFLAGS | sed 's/.*j\([0-9]*\).*/\1/') $@))"}:-$1}
+ local NPROC=${${2:+"$(( $(echo $MAKEFLAGS | sed 's/.*j\([0-9]*\).*/\1/') $@))"}:-$1}
export MAKEFLAGS="$(echo $MAKEFLAGS | sed 's/j[0-9]*//')"
[ "$NPROC" -ge 0 ] && MAKEFLAGS+="j"