diff --git a/neofetch b/neofetch index a3b76be4..9bf99351 100755 --- a/neofetch +++ b/neofetch @@ -839,7 +839,7 @@ getcpu () { "Mac OS X") cpu="$(sysctl -n machdep.cpu.brand_string)" - cpu=${cpu/ } + cpu=${cpu//[[:space:]]/ } cores=$(sysctl -n hw.ncpu) ;;