Bootstrap: Add replication script
Hopefully this shit works. It's completely untested
This commit is contained in:
parent
3cc9a2c463
commit
92c53a5db9
5
.bin/bootstrap/replicate.sh
Executable file
5
.bin/bootstrap/replicate.sh
Executable file
@ -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/
|
Loading…
Reference in New Issue
Block a user