This repository contains a few .zshrc files to provide informative console login messages on macOS.
I highly recommend forking this repository and making your changes to personalize the MOTD that you are shown on login. That being said, if you completely agree with the information fields in my script, or just too lazy to modify it, this command will get the contents of the motd.sh file and append it to your ~/.zshrc file.
curl -sS https://raw.githubusercontent.com/squishycat92/LoginMOTD/refs/heads/main/motd.sh >> ~/.zshrcNote
If you are updating from this repository, this will actually cause two MOTDs to be printed. In this case, you should delete the old version from ~/.zshrc. Alternatively, if you have a completely unmodified ~/.zshrc file, you can replace the file contents instead of appending to it.
curl -sS https://raw.githubusercontent.com/squishycat92/LoginMOTD/refs/heads/main/motd.sh > ~/.zshrc