Created
September 27, 2014 00:16
-
-
Save chrahunt/f0f25f2feedf3b31c1dd to your computer and use it in GitHub Desktop.
Script for loading my dotfiles
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 script uses homeshick to set up my dotfiles. In order for the | |
# updated .bashrc to be applied immediately, this file should be sourced, | |
# rather than executed directly. e.g. | |
# source bootstrap.sh | |
# Check for git | |
command -v git >/dev/null 2>&1 || { echo >&2 "Git required. Please install. Aborting."; exit 1; } | |
# Install homeshick | |
git clone git://github.com/andsens/homeshick.git $HOME/.homesick/repos/homeshick | |
source $HOME/.homesick/repos/homeshick/homeshick.sh | |
# Clone dotfiles repo | |
homeshick clone --batch chrahunt/dotfiles | |
# Link everything | |
homeshick link --force | |
# Source .bashrc | |
source $HOME/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment