Update neofetch

This commit is contained in:
Zhang Boyu 2019-10-19 16:30:40 +08:00 committed by GitHub
parent 6758bfb765
commit 2c3faf9469
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1210,7 +1210,7 @@ get_kernel() {
return return
} }
# In Windows 'uname -r' under MSYS returns a "virtual" kernel version, so use wmic # In Windows 'uname -r' under MSYS returns version of MSYS, so use wmic
[[ "$os" == Windows ]] && { [[ "$os" == Windows ]] && {
kernel_version=$(wmic os get Version) kernel_version=$(wmic os get Version)
kernel_version="${kernel_version/Version}" kernel_version="${kernel_version/Version}"