neofetch: nitpicks

This commit is contained in:
Dylan Araps 2019-10-30 12:31:55 +00:00
parent ed02764ec0
commit efc289463c
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 3 additions and 3 deletions

View File

@ -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
}