Update neofetch
This commit is contained in:
parent
6758bfb765
commit
2c3faf9469
2
neofetch
2
neofetch
|
@ -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}"
|
||||||
|
|
Reference in New Issue