Created
October 22, 2015 00:33
-
-
Save edcrypt/90ed3ba24c05c798f8ac to your computer and use it in GitHub Desktop.
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
function fish_greeting --description "Greet the user with the shell's version, and a complementary colorful cow." | |
set_color --bold; fish -v; set_color normal | |
set cows cowsay\ {-b,-d,-g,-p,-s,t,-w,-y} | |
set chosen_cow_index (math (random)%8+1) | |
set chosen_cow $cows[$chosen_cow_index] | |
fortune -a -s | eval $chosen_cow | lolcat | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment