neofetch: nitpicks
This commit is contained in:
parent
ed02764ec0
commit
efc289463c
6
neofetch
6
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
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue