Skip to content

Instantly share code, notes, and snippets.

@octopitus
Last active August 14, 2016 02:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save octopitus/ebd51c67cda3eb79f19b9ebb579672f0 to your computer and use it in GitHub Desktop.
Save octopitus/ebd51c67cda3eb79f19b9ebb579672f0 to your computer and use it in GitHub Desktop.
Go fun yourself. With terminal.

Install fortune & cowsay

brew install fortune cowsay coreutils

Install lolcat

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment