Skip to content

Instantly share code, notes, and snippets.

@semperos
Created January 31, 2013 01:51
Show Gist options
  • Select an option

  • Save semperos/4679237 to your computer and use it in GitHub Desktop.

Select an option

Save semperos/4679237 to your computer and use it in GitHub Desktop.
Cowthink for ~/.bashrc
###
# Because it's fun
###
RANGE=54
number=$RANDOM
let "number %= $RANGE"
case $number in
0)
cow="apt"
;;
1)
cow="beavis.zen"
;;
2)
cow="bong"
;;
3)
cow="bud-frogs"
;;
4)
cow="bunny"
;;
5)
cow="calvin"
;;
6)
cow="cheese"
;;
7)
cow="cock"
;;
8)
cow="cower"
;;
9)
cow="daemon"
;;
10)
cow="default"
;;
11)
cow="dragon"
;;
12)
cow="dragon-and-cow"
;;
13)
cow="duck"
;;
14)
cow="elephant"
;;
15)
cow="elephant-in-snake"
;;
16)
cow="eyes"
;;
17)
cow="flaming-sheep"
;;
18)
cow="ghostbusters"
;;
19)
cow="gnu"
;;
20)
cow="head-in"
;;
21)
cow="hellokitty"
;;
22)
cow="kiss"
;;
23)
cow="kitty"
;;
24)
cow="koala"
;;
25)
cow="kosh"
;;
26)
cow="luke-koala"
;;
27)
cow="mech-and-cow"
;;
28)
cow="meow"
;;
29)
cow="milk"
;;
30)
cow="moofasa"
;;
31)
cow="moose"
;;
32)
cow="mutilated"
;;
33)
cow="pony"
;;
34)
cow="pony-smaller"
;;
35)
cow="ren"
;;
36)
cow="sheep"
;;
37)
cow="skeleton"
;;
38)
cow="snowman"
;;
39)
cow="sodomized-sheep"
;;
40)
cow="stegosaurus"
;;
41)
cow="stimpy"
;;
42)
cow="suse"
;;
43)
cow="three-eyes"
;;
44)
cow="turkey"
;;
45)
cow="turtle"
;;
46)
cow="tux"
;;
47)
cow="unipony"
;;
48)
cow="unipony-smaller"
;;
49)
cow="vader"
;;
50)
cow="vader-koala"
;;
51)
cow="www"
;;
52)
cow="snoopy"
;;
53)
cow="snoopy-on-house"
;;
54)
cow="snoopy-aviator"
;;
esac
fortune | cowthink -f $cow
LAST_COW="($cow)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment