Clone the repo:
git clone [email protected]:modille/motd ~/git/github.com/modille/motd
And add the following to your ~/.zshrc
:
MOTD_SCRIPT="$HOME/git/github.com/modille/motd/motd.sh"
[[ -s $MOTD_SCRIPT ]] && source $MOTD_SCRIPT
Then open a new terminal tab. 🎉
- Consider replacing
/etc/motd
instead of sourcing from~/.zshrc