Skip to content

Instantly share code, notes, and snippets.

@egel
Created October 10, 2015 09:39
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 egel/d645b4e027240c149bf3 to your computer and use it in GitHub Desktop.
Save egel/d645b4e027240c149bf3 to your computer and use it in GitHub Desktop.
Funny frogs installer - when run it adds to your .bashrc funny frogs daily phrase.
#!/bin/bash
green='\e[1;32m' # '\e[1;32m' is too bright for white bg.
red='\e[0;31m'
yellow='\e[0;33m'
purple='\e[0;35m'
endColor='\e[0m'
echo -e "${purple}====== Install: cowsay, fortune-mod ======${endColor}"
sudo apt-get install -y cowsay fortune-mod
echo '' >> ~/.bashrc && \
echo '# Add funny-dummy text to new instance of teminal' >> ~/.bashrc && \
echo 'fortune | cowsay -W80 -f bud-frogs' >> ~/.bashrc
echo -e "${green}✔ Done${endColor}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment