brew install fortune cowsay coreutils
Make sure you have rvm
[Install] and then put this line to the bottom of your shell (.bashrc
or .zshrc
):
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # This load rvm
And then
gem install lolcat
Put this line to your shell, below of rvm
fortune -a | fmt -80 -s | $(gshuf -n 1 -e cowsay cowthink) -$(gshuf -n 1 -e b d g p s t w y) -f $(gshuf -n 1 -e $(cowsay -l | tail -n +2)) -n | lolcat