diff --git a/liquidprompt b/liquidprompt index 9e5e9b1..766a19b 100755 --- a/liquidprompt +++ b/liquidprompt @@ -186,7 +186,7 @@ fi # get cpu number _lp_cpunum_Linux() { - nproc + grep -c '^[Pp]rocessor' /proc/cpuinfo } _lp_cpunum_FreeBSD()