Created
September 15, 2012 16:57
-
-
Save lmullen/3728824 to your computer and use it in GitHub Desktop.
A shell script to delay checking e-mail (or really, any action)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A shell script to convince me not to check my e-mail. | |
# Lincoln Mullen | http://lincolnmullen.com | lincoln@lincolnmullen.com | |
read -p "Do you really need to check your e-mail (y/n)? " yn | |
case $yn in | |
y|Y ) echo "You'll have to wait. CTRL+C to get back to work."; sleep 180; mutt;; | |
n|N ) exit;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment