mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-22 19:49:54 +00:00
Fix gpu spacing in FreeBSD
This commit is contained in:
3
fetch
3
fetch
@@ -662,7 +662,8 @@ getgpu () {
|
|||||||
gpu=$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device")
|
gpu=$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device")
|
||||||
gpu=${gpu/device*= /}
|
gpu=${gpu/device*= /}
|
||||||
gpu=${gpu//\'/}
|
gpu=${gpu//\'/}
|
||||||
gpu=${gpu// }
|
gpu=${gpu//[[:space:]]/ }
|
||||||
|
gpu=${gpu// /}
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user