made PR two lines shorter :)
This commit is contained in:
parent
8d2db93545
commit
53d2cf6661
1 changed files with 1 additions and 4 deletions
5
neofetch
5
neofetch
|
@ -83,10 +83,7 @@ getmodel() {
|
|||
esac
|
||||
;;
|
||||
|
||||
"Mac OS X")
|
||||
model="$(sysctl hw.model)"
|
||||
model="${model//hw.model: /}"
|
||||
;;
|
||||
"Mac OS X") model="$(sysctl -n hw.model)" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue