mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-22 11:39:53 +00:00
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:
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
Block a user