From 4413c0f210e603a0cbea25d21c9af6838b490311 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 14 Dec 2016 11:57:02 +1100 Subject: [PATCH] CPU: Remove duplicate substitutions --- neofetch | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/neofetch b/neofetch index e1f38a5f..d9eb9f8e 100755 --- a/neofetch +++ b/neofetch @@ -899,10 +899,9 @@ get_cpu() { "speed") cpu="${cpu#*@ }" ;; "on" | "tiny") - cpu="${cpu/Intel }" - cpu="${cpu/Core }" - cpu="${cpu/Core? Duo }" cpu="${cpu/AMD }" + cpu="${cpu/Intel }" + cpu="${cpu/Core? Duo }" [[ "$cpu_shorthand" == "tiny" ]] && cpu="${cpu/@*}" ;;