Permalink
Browse files

flipcoin at lol plugin

  • Loading branch information...
1 parent becaa24 commit dc2b0af1812b3f8f19caaf58402d96a623254b31 @tinogomes committed Apr 25, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 plugins/lol/lol.plugin.zsh
@@ -36,3 +36,6 @@ alias nomnom='killall'
alias byes='exit'
alias cya='reboot'
alias kthxbai='halt'
+
+# Flip a coin function. http://twitter.com/#!/climagic/status/195158151534882817
+flipcoin() { [[ $(( $RANDOM % 2 )) == 0 ]] && echo heads || echo tails; }

0 comments on commit dc2b0af

Please sign in to comment.