Skip to content

Instantly share code, notes, and snippets.

@rebeccawilliams
Last active February 25, 2017 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rebeccawilliams/6409148 to your computer and use it in GitHub Desktop.
Save rebeccawilliams/6409148 to your computer and use it in GitHub Desktop.
lolcat gem + editing your .bash_profile = a rainbow greeting every time you open a terminal window

install homebrew if you don't already have it.

install the lolcat gem:

gem install lolcat

then

open .bash_profile

edit .bash_profile file in a text editor, add the following:

read -r -d '' VAR <<'EOF'

then insert ascii art or any greeting you want to appear in beautiful rainbow effect, then close with

EOF
echo "$VAR" | lolcat

save your .bash_profile file

then open a new terminal window and boom:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment