Last active
January 30, 2023 02:48
-
-
Save angstbear/a0499e955ecf282c06c4a7dd9cb8bd35 to your computer and use it in GitHub Desktop.
Revisions
-
angstbear revised this gist
Apr 30, 2019 . No changes.There are no files selected for viewing
-
angstbear revised this gist
Apr 30, 2019 . 1 changed file with 12 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,10 @@ function fish_greeting if not which fortune > /dev/null ^ /dev/null switch (uname) case Darwin echo Installing fortune and cowsay brew install fortune sudo gem install lolcat case Linux echo Installing fortune and cowsay if which apt-get > /dev/null ^ /dev/null @@ -14,15 +14,15 @@ function fish_greeting end case '*' echo Wait ... where are we\? (uname), eh end end set -l toon (random choice {default,bud-frogs,dragon,dragon-and-cow,elephant,moose,stegosaurus,tux,vader}) if which lolcat > /dev/null ^ /dev/null fortune -s | cowsay -f $toon | lolcat else if which fortune > /dev/null ^ /dev/null fortune -s | cowsay -f $toon else echo Something fishy going on around here ... end end -
angstbear revised this gist
Apr 30, 2019 . 1 changed file with 24 additions and 22 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,26 +1,28 @@ function fish_greeting if not which fortune > /dev/null ^ /dev/null switch (uname) case Darwin echo Installing fortune and cowsay brew install fortune sudo gem install lolcat case Linux echo Installing fortune and cowsay if which apt-get > /dev/null ^ /dev/null sudo apt-get install fortune cowsay else sudo yum install fortune cowsay end case '*' echo Wait ... where are we\? (uname), eh end end set -l toon (random choice {default,bud-frogs,dragon,dragon-and-cow,elephant,moose,stegosaurus,tux,vader}) if which lolcat > /dev/null ^ /dev/null fortune -s | cowsay -f $toon | lolcat else if which fortune > /dev/null ^ /dev/null fortune -s | cowsay -f $toon else echo Something fishy going on around here ... end end -
angstbear revised this gist
May 12, 2016 . No changes.There are no files selected for viewing
-
angstbear created this gist
May 12, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ function fish_greeting if not which fortune > /dev/null ^ /dev/null switch (uname) case Darwin echo Installing fortune and cowsay brew install fortune cowsay case Linux echo Installing fortune and cowsay if which apt-get > /dev/null ^ /dev/null sudo apt-get install fortune cowsay else sudo yum install fortune cowsay end case '*' echo Wait ... where are we\? (uname), eh end end set -l toon bud-frogs if which lolcat > /dev/null ^ /dev/null fortune -s | cowsay -f $toon | lolcat else if which fortune > /dev/null ^ /dev/null fortune -s | cowsay -f $toon else echo Something fishy going on around here ... end end