pull upstream changes from gitstatus

This commit is contained in:
romkatv 2019-04-11 09:00:58 +02:00
parent 2b921c07da
commit 1d7c63f80f

View file

@ -221,6 +221,7 @@ function gitstatus_start() {
FreeBSD) threads=$(( 2 * $(sysctl -n hw.ncpu) ));; FreeBSD) threads=$(( 2 * $(sysctl -n hw.ncpu) ));;
*) threads=$(( 2 * $(getconf _NPROCESSORS_ONLN) ));; *) threads=$(( 2 * $(getconf _NPROCESSORS_ONLN) ));;
esac esac
(( threads <= 32 )) || threads=32
} }
local -i sigwinch_pid=-1 local -i sigwinch_pid=-1