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
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Mac OS X")
|
"Mac OS X") model="$(sysctl -n hw.model)" ;;
|
||||||
model="$(sysctl hw.model)"
|
|
||||||
model="${model//hw.model: /}"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue