neofetch: nitpicks
This commit is contained in:
parent
ed02764ec0
commit
efc289463c
6
neofetch
6
neofetch
|
@ -1217,10 +1217,10 @@ get_kernel() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
# In Windows 'uname' may return the info of GNUenv thus use wmic for OS kernel
|
# In Windows 'uname' may return the info of GNUenv thus use wmic for OS kernel.
|
||||||
[[ "$os" == Windows ]] && {
|
[[ $os == Windows ]] && {
|
||||||
kernel=$(wmic os get Version)
|
kernel=$(wmic os get Version)
|
||||||
kernel="${kernel/Version}"
|
kernel=${kernel/Version}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue