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
neofetch
1
neofetch
|
@ -921,6 +921,7 @@ get_cpu() {
|
||||||
cpu="${cpu//Core}"
|
cpu="${cpu//Core}"
|
||||||
cpu="${cpu//with Radeon * Graphics}"
|
cpu="${cpu//with Radeon * Graphics}"
|
||||||
cpu="${cpu//, altivec supported}"
|
cpu="${cpu//, altivec supported}"
|
||||||
|
cpu="${cpu//FPU*}"
|
||||||
|
|
||||||
# Add CPU cores to the output.
|
# Add CPU cores to the output.
|
||||||
[[ "$cpu_cores" != "off" && "$cores" ]] && \
|
[[ "$cpu_cores" != "off" && "$cores" ]] && \
|
||||||
|
|
Reference in New Issue