This plugin prints a message every time you open your terminal.
It's ok if you don't have a certain package installed. You just won't get the pretty output.
- Cowsay
- Fortune
- Figlet
- Lolcat
- Default is a fortune or a standard greeting if fortune is not installed
- Add
export ZSH_MOTD_CUSTOM=<A static message>
to your .zshrc to set the message to a static message - Add
export ZSH_MOTD_WOTD
to your .zshrc to set the message to a random word - Add
export ZSH_MOTD_ALWAYS
to your .zshrc so that the full header is shown every time, instead of the default every 3 hours
- Clone the repository:
git clone https://github.com/Kallahan23/zsh-motd ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-motd
- Enable this plugin by adding
zsh-motd
to the plugins array in your zshrc file:
plugins=(... zsh-motd)