Skip to content

Instantly share code, notes, and snippets.

@DavidLiedle
Created February 25, 2020 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidLiedle/63102f3f4dcc3090e9c4166ff7772e49 to your computer and use it in GitHub Desktop.
Save DavidLiedle/63102f3f4dcc3090e9c4166ff7772e49 to your computer and use it in GitHub Desktop.
A bash script to break a bad habit
#!/usr/bin/env bash
################################################################################
# Fix the habit of typing "face" and hitting enter in the browser (using its
# autocomplete feature, of course) to go to Facebook.com every five seconds.
#
echo "Facebook isn't going anywhere, but you are! Get back to work."
@DavidLiedle
Copy link
Author

Be sure to do a chmod +x face on the file, and store it somewhere on your PATH. I keep mine in ~/bin/face.

@dijit
Copy link

dijit commented Feb 26, 2020

How does this feed a browsers auto-complete?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment