mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 01:00:17 +00:00
Merge pull request #1400 from dgurney/master
Add patterns for AMD CPUs with numeric core counts
This commit is contained in:
2
neofetch
2
neofetch
@@ -2191,6 +2191,8 @@ get_cpu() {
|
|||||||
cpu="${cpu//Quad-Core}"
|
cpu="${cpu//Quad-Core}"
|
||||||
cpu="${cpu//Six-Core}"
|
cpu="${cpu//Six-Core}"
|
||||||
cpu="${cpu//Eight-Core}"
|
cpu="${cpu//Eight-Core}"
|
||||||
|
cpu="${cpu//[1-9][0-9]-Core}"
|
||||||
|
cpu="${cpu//[0-9]-Core}"
|
||||||
cpu="${cpu//, * Compute Cores}"
|
cpu="${cpu//, * Compute Cores}"
|
||||||
cpu="${cpu//Core / }"
|
cpu="${cpu//Core / }"
|
||||||
cpu="${cpu//(\"AuthenticAMD\"*)}"
|
cpu="${cpu//(\"AuthenticAMD\"*)}"
|
||||||
|
Reference in New Issue
Block a user