From 3489526637a96162bb5541110947655f3f964172 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 12 May 2016 20:39:00 +1000 Subject: [PATCH] Fix GPU whitespace issue --- neofetch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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// / } ;; *)