diff --git a/neofetch b/neofetch index eaadd8c2..995e3243 100755 --- a/neofetch +++ b/neofetch @@ -1327,9 +1327,8 @@ getgpu () { case "$distro" in "FreeBSD"*) gpu=$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device") - gpu=${gpu/device*= } + gpu=${gpu/*device*= } gpu=${gpu//\'} - gpu=${gpu// / } ;; *)