mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-23 12:09:55 +00:00
GPU [AMD]: Remove an unnecessary pattern check
This commit is contained in:
1
neofetch
1
neofetch
@@ -2059,7 +2059,6 @@ get_gpu() {
|
|||||||
gpu="${gpu/\[AMD\] }"
|
gpu="${gpu/\[AMD\] }"
|
||||||
gpu="${gpu/OEM }"
|
gpu="${gpu/OEM }"
|
||||||
gpu="${gpu/Advanced Micro Devices, Inc.}"
|
gpu="${gpu/Advanced Micro Devices, Inc.}"
|
||||||
gpu="${gpu/ \/ *}"
|
|
||||||
gpu="${gpu/*\[}"
|
gpu="${gpu/*\[}"
|
||||||
gpu="${gpu/\]*}"
|
gpu="${gpu/\]*}"
|
||||||
gpu="$brand $gpu"
|
gpu="$brand $gpu"
|
||||||
|
|||||||
Reference in New Issue
Block a user