From f18c315697bfd84e7ef9112a086163b6daeb060a Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 12 Jun 2016 10:18:35 +1000 Subject: [PATCH] Fix whitespace in Windows OS line --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index d5d44c92..34f29b4b 100755 --- a/neofetch +++ b/neofetch @@ -538,7 +538,7 @@ getdistro () { distro=${distro/Microsoft } ;; esac - distro=${distro//+( )/ } + distro="${distro%"${distro##*[![:space:]]}"}" # Get architecture [ "$os_arch" == "on" ] && \