Created
January 28, 2016 16:31
-
-
Save arnab/2800317b2592ac64d246 to your computer and use it in GitHub Desktop.
Prank to play on unlocked co-worker's computers. Inspired by https://twitter.com/RubyLeaders/status/626068854100332544
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
cat >> ~/.zshrc | |
function chpwd { | |
echo Hodor; | |
if type say > /dev/null; then | |
say Hodor; | |
fi | |
} | |
# then Ctrl + D | |
source ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment