diff --git a/fetch b/fetch index 14973015..ec24c241 100755 --- a/fetch +++ b/fetch @@ -697,9 +697,8 @@ getcpu () { # Get cpu name cpu="$(grep -F 'model name' /proc/cpuinfo)" cpu=${cpu/model name*: } - cpu=${cpu%% *} cpu=${cpu/ @*} - cpu=${cpu// } + cpu=${cpu%% } # Get cpu speed if [ -d "/sys/devices/system/cpu/cpu0/cpufreq" ]; then