Skip to content

Instantly share code, notes, and snippets.

@chaorace
Last active October 25, 2019 21:06
Show Gist options
  • Save chaorace/35231818af49c8f4a46eb1d7dc7c3272 to your computer and use it in GitHub Desktop.
Save chaorace/35231818af49c8f4a46eb1d7dc7c3272 to your computer and use it in GitHub Desktop.
Dotfile Bootstrapper
#!/usr/bin/env sh
# Reminder: curl -sL dot.chray.cc | bash
git clone --separate-git-dir=$HOME/.dotfiles https://github.com/chaorace/.dotfiles.git tmpdotfiles
rsync --recursive --verbose --exclude '.git' tmpdotfiles/ $HOME/
rm -rf tmpdotfiles
source $HOME/.bashrc
dotfiles config --local status.showUntrackedFiles no
@chaorace
Copy link
Author

Derived from this wonderful dotfile guide
See the main repo for how my files interact with this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment