Created
July 8, 2012 18:26
-
-
Save mpereira/3072187 to your computer and use it in GitHub Desktop.
A little help to stop unconsciously checking distracting web sites.
This file contains hidden or 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
alias focus="sudo sh -c \"echo '127.0.0.1 www.facebook.com twitter.com mail.google.com # aab6de513ab5de9359809f3cdb62d352' >> /etc/hosts\"" | |
alias unfocus='sudo sed -i "" "/aab6de513ab5de9359809f3cdb62d352/d" /etc/hosts' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment