mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-23 20:12:31 +00:00
Readme
This commit is contained in:
4
fetch
4
fetch
@@ -274,7 +274,7 @@ case "$(uname)" in
|
||||
os="OpenBSD"
|
||||
;;
|
||||
|
||||
*"BSD" | "DragonFly")
|
||||
*"BSD")
|
||||
os="BSD"
|
||||
;;
|
||||
|
||||
@@ -312,7 +312,6 @@ case "$os" in
|
||||
"BSD")
|
||||
distro="$(uname -v)"
|
||||
distro=${distro%% *}
|
||||
distro=${distro/DragonFly/DragonFlyBSD}
|
||||
;;
|
||||
|
||||
"Windows")
|
||||
@@ -566,6 +565,7 @@ getcpu () {
|
||||
;;
|
||||
|
||||
*"BSD")
|
||||
# TODO: Cpu speed for other BSD distros
|
||||
cpu="$(sysctl -n hw.model)"
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user