Last active
December 22, 2015 19:49
-
-
Save boxofrad/6522269 to your computer and use it in GitHub Desktop.
Rickroll your co-workers
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
aliases=(cd ls pwd git rails rake bundle exit ssh rvm ebenv vi vim) | |
rickroll() { | |
open 'http://www.youtube.com/watch?v=dQw4w9WgXcQ' | |
} | |
for command in ${aliases[*]} | |
do | |
alias $command=rickroll | |
done | |
mercy() { | |
for command in ${aliases[*]} | |
do | |
unalias $command | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment