Fix huge whitespace in CPU output
This commit is contained in:
parent
1fb3c59bc6
commit
2edad96936
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -839,7 +839,7 @@ getcpu () {
|
||||||
|
|
||||||
"Mac OS X")
|
"Mac OS X")
|
||||||
cpu="$(sysctl -n machdep.cpu.brand_string)"
|
cpu="$(sysctl -n machdep.cpu.brand_string)"
|
||||||
cpu=${cpu/ }
|
cpu=${cpu//[[:space:]]/ }
|
||||||
cores=$(sysctl -n hw.ncpu)
|
cores=$(sysctl -n hw.ncpu)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue