Print MacOS version

This commit is contained in:
Anthony Rose 2022-08-15 12:10:34 +01:00
parent 4e34ffaced
commit 200ba62653

View file

@ -262,6 +262,10 @@ usermotd () {
then
echo " $(. /etc/os-release; echo $NAME $VERSION)"
fi
if [ "x$(uname -s)" == "xDarwin" ]
then
echo " $(sw_vers -productName) $(sw_vers -productVersion)"
fi
uptime
echo "LANG=$LANG"
if [ -n "$TZ" ]