Created
October 3, 2014 15:45
-
-
Save montanaflynn/04246fc5da998d15e713 to your computer and use it in GitHub Desktop.
Fun with fish and fortunes
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
# place this in your fish path | |
# ~/.config/fish/config.fish | |
function fish_greeting | |
if not type fortune > /dev/null 2>&1 | |
apt-get install fortune | |
end | |
fortune -a | |
end | |
funcsave fish_greeting |
Nice
Should add some lolcat
function fish_greeting
if not type fortune > /dev/null 2>&1
apt-get install fortune
end
if not type cowsay > /dev/null 2>&1
apt-get install cowsay
end
if not type lolcat > /dev/null 2>&1
apt-get install lolcat
end
fortune -a | cowsay -f bud-frogs | lolcat
end
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Extra bonus frogs: