From 2edad96936c14a856ca6f0e7a670e045e3f55538 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 27 Mar 2016 13:51:21 +1100 Subject: [PATCH] Fix huge whitespace in CPU output --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ;;