Last active
January 25, 2018 15:35
-
-
Save telendt/d9b3b6ff20b289ef5165c6e4c91bc2cd to your computer and use it in GitHub Desktop.
prank
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
# https://www.reddit.com/r/apple/comments/55kqcp/apple_removed_all_the_cool_novelty_voices_from/d8bhnyw/ | |
# System Preferences > Accessibility > select Voice on the left side > System Voice menu > select Customize > select Whisper | |
cat <<EOF >> ~/.bash_profile && source ~/.bash_profile && history -d $(history | tail -n 1 | awk '{print $1}') 2> /dev/null | |
PROMPT_COMMAND='(sleep \$(( ( RANDOM % 10 ) + 1 )) && say -v Whisper "I am watching you" &)' | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this is awesome!