Created
October 10, 2015 09:39
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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