Skip to content

Instantly share code, notes, and snippets.

@james-huston
Last active March 4, 2016 18:29
Show Gist options
  • Save james-huston/45e2e8a0f07ed7e3cc7c to your computer and use it in GitHub Desktop.
Save james-huston/45e2e8a0f07ed7e3cc7c to your computer and use it in GitHub Desktop.
function ls {
RAND=$[ 1 + $[ RANDOM % 20 ]]
if [ $RAND == 1 ]
then
osascript -e 'set volume 7'
say "god I wish had not left my computer unlocked" &
fi
/bin/ls "$@"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment