would a newline be better?
This commit is contained in:
parent
bec385d02f
commit
576facfd69
1 changed files with 2 additions and 1 deletions
3
neofetch
3
neofetch
|
@ -1277,7 +1277,8 @@ get_distro() {
|
||||||
|
|
||||||
windows_version_verbose=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v ProductName | grep REG_)
|
windows_version_verbose=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v ProductName | grep REG_)
|
||||||
windows_version_verbose=$(trim "${windows_version_verbose/ProductName}")
|
windows_version_verbose=$(trim "${windows_version_verbose/ProductName}")
|
||||||
windows_version_verbose=$(trim "${windows_version_verbose/REG_SZ}") buildnumber=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v CurrentBuildNumber | grep REG_)
|
windows_version_verbose=$(trim "${windows_version_verbose/REG_SZ}")
|
||||||
|
buildnumber=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v CurrentBuildNumber | grep REG_)
|
||||||
windows_version_verbose=$(trim "${windows_version_verbose/Windows}")
|
windows_version_verbose=$(trim "${windows_version_verbose/Windows}")
|
||||||
windows_buildnumber=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v CurrentBuildNumber | grep REG_)
|
windows_buildnumber=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v CurrentBuildNumber | grep REG_)
|
||||||
windows_buildnumber=${buildnumber/CurrentBuildNumber}
|
windows_buildnumber=${buildnumber/CurrentBuildNumber}
|
||||||
|
|
Loading…
Reference in a new issue