-
-
Save cmheisel/702421 to your computer and use it in GitHub Desktop.
This file contains 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
# This is the one stop prank script for unattended Unix-like workstations. | |
# Use it with the simple one-liner: | |
# curl -L j.mp/__lys | bash | |
linux_specific(){ | |
true | |
} | |
mac_specific(){ | |
true | |
} | |
common(){ | |
alias vim="emacs" | |
alias unalias="emacs" | |
alias cd="emacs" | |
} | |
platform=$(uname -s) | |
if [[ "$platform" == "Linux" ]]; then | |
mac_specific | |
elif [[ "$platform" == "Darwin" ]]; then | |
linux_specific | |
fi | |
common |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment