mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
flipcoin at lol plugin
This commit is contained in:
parent
becaa24081
commit
dc2b0af181
1 changed files with 3 additions and 0 deletions
|
|
@ -36,3 +36,6 @@ alias nomnom='killall'
|
||||||
alias byes='exit'
|
alias byes='exit'
|
||||||
alias cya='reboot'
|
alias cya='reboot'
|
||||||
alias kthxbai='halt'
|
alias kthxbai='halt'
|
||||||
|
|
||||||
|
# Flip a coin function. http://twitter.com/#!/climagic/status/195158151534882817
|
||||||
|
flipcoin() { [[ $(( $RANDOM % 2 )) == 0 ]] && echo heads || echo tails; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue