mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 16:51:29 +00:00
neofetch: nitpicks
This commit is contained in:
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
Block a user