diff options
Diffstat (limited to 'gitstatus')
-rw-r--r-- | gitstatus/gitstatus.plugin.zsh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh index 6b28997c..696baada 100644 --- a/gitstatus/gitstatus.plugin.zsh +++ b/gitstatus/gitstatus.plugin.zsh @@ -221,6 +221,7 @@ function gitstatus_start() { FreeBSD) threads=$(( 2 * $(sysctl -n hw.ncpu) ));; *) threads=$(( 2 * $(getconf _NPROCESSORS_ONLN) ));; esac + (( threads <= 32 )) || threads=32 } local -i sigwinch_pid=-1 |