mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-24 04:29:25 +02:00
LOL plugin: New function - flipcoin
This commit is contained in:
parent
3461513aa5
commit
67dc122bcb
1 changed files with 2 additions and 0 deletions
|
|
@ -48,3 +48,5 @@ alias ooanward='git commit -am'
|
||||||
alias letcat='git checkout'
|
alias letcat='git checkout'
|
||||||
alias violenz='git rebase'
|
alias violenz='git rebase'
|
||||||
|
|
||||||
|
# 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