Hacker News new | past | comments | ask | show | jobs | submit login

You changed the probability here from 10% to 90% by inverting the test.



True, you can just invert: alias clear='if ! (( RANDOM % 10 )); then timeout 3 cmatrix; clear; else clear; fi'


((RANDOM % 10)) || timeout 3 cmatrix ; clear




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: