diff --git a/.bin/bootstrap/replicate.sh b/.bin/bootstrap/replicate.sh new file mode 100755 index 00000000..2b7c7672 --- /dev/null +++ b/.bin/bootstrap/replicate.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +git clone --recursive --separate-git-dir="$HOME/.dotfiles" git@github.com:rehashedsalt/home.git /tmp/dots +rsync -rvl --exclude ".git" /tmp/dots/ $HOME/ +rm -r /tmp/dots +git submodule update --init --recursive --git-dir="$HOME/.dotfiles" --work-tree="$HOME" $HOME/