mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 17:50:09 +00:00
pull upstream changes from gitstatus
This commit is contained in:
parent
2b921c07da
commit
1d7c63f80f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue