mirror of
https://github.com/dylanaraps/neofetch.git
synced 2026-01-04 14:28:03 +00:00
Fix leftover 'OSArchitecture' string
This commit is contained in:
3
fetch
3
fetch
@@ -411,7 +411,8 @@ case "$os" in
|
|||||||
distro+=" $(wmic os get OSArchitecture /value)"
|
distro+=" $(wmic os get OSArchitecture /value)"
|
||||||
|
|
||||||
# Strip crap from the output of wmic
|
# Strip crap from the output of wmic
|
||||||
distro=${distro//Caption'='}
|
distro=${distro/Caption'='}
|
||||||
|
distro=${distro/OSArchitecture'='}
|
||||||
distro=${distro//[[:space:]]/ }
|
distro=${distro//[[:space:]]/ }
|
||||||
distro=${distro// }
|
distro=${distro// }
|
||||||
distro=${distro/Microsoft }
|
distro=${distro/Microsoft }
|
||||||
|
|||||||
Reference in New Issue
Block a user