瀏覽代碼

neofetch: nitpicks

Dylan Araps 5 年之前
父節點
當前提交
efc289463c
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      neofetch

+ 3 - 3
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
     }