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
This commit is contained in:
parent
defa2f4d11
commit
c0506dbc2c
1 changed files with 1 additions and 0 deletions
1
neofetch
1
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" ]] && \
|
||||
|
|
Loading…
Reference in a new issue