neofetch: nitpicks
This commit is contained in:
parent
ed02764ec0
commit
efc289463c
1 changed files with 3 additions and 3 deletions
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue