From efc289463ca1f54191061e0ee7d2c9fe0136894d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 30 Oct 2019 12:31:55 +0000 Subject: [PATCH] neofetch: nitpicks --- neofetch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neofetch b/neofetch index 0b2358b3..e051622e 100755 --- a/neofetch +++ b/neofetch @@ -1217,10 +1217,10 @@ get_kernel() { return } - # In Windows 'uname' may return the info of GNUenv thus use wmic for OS kernel - [[ "$os" == Windows ]] && { + # In Windows 'uname' may return the info of GNUenv thus use wmic for OS kernel. + [[ $os == Windows ]] && { kernel=$(wmic os get Version) - kernel="${kernel/Version}" + kernel=${kernel/Version} return }