Created
June 17, 2012 21:01
-
-
Save loopj/2945733 to your computer and use it in GitHub Desktop.
Bootstrap dotfiles
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
| #!/bin/sh | |
| # | |
| # Quickly set up a server the way I like it (dotfiles + zsh + oh-my-zsh) | |
| # | |
| # Requires git and zsh to be installed on the machine | |
| # | |
| # Usage: | |
| # curl https://raw.github.com/gist/2945733/82c7487f5a4d99508e7a6150dfa88156b8e88943/dotfiles.sh | sh | |
| # | |
| # Make sure we are in my home directory | |
| cd ~ | |
| # Extract and link my dotfiles | |
| rm -rf config-files | |
| git clone -q https://github.com/loopj/config-files | |
| ln -sf config-files/.* . | |
| rm -rf .git | |
| # Set up oh-my-zsh | |
| rm -rf .oh-my-zsh | |
| git clone -q https://github.com/loopj/oh-my-zsh .oh-my-zsh | |
| # Set the login shell to zsh | |
| chsh -s /usr/bin/zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment