From c0506dbc2cd28fb6dc0adb6e0a5e2d32e68f5c42 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Sat, 24 Dec 2016 21:18:36 +0700 Subject: [PATCH] CPU [Linux]: Strip 'FPU' from CPU output Since we're strictly looking for CPU name here, any output with "FPU"* will be unnecessary. This mainly affects MIPS --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index a2bc1c75..dd24f6aa 100755 --- a/neofetch +++ b/neofetch @@ -921,6 +921,7 @@ get_cpu() { cpu="${cpu//Core}" cpu="${cpu//with Radeon * Graphics}" cpu="${cpu//, altivec supported}" + cpu="${cpu//FPU*}" # Add CPU cores to the output. [[ "$cpu_cores" != "off" && "$cores" ]] && \