Initial commit - transitioning from dotfiles
This commit is contained in:
6
bootstrap/replicate.sh
Executable file
6
bootstrap/replicate.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
tempfolder="/tmp/dots$(uuidgen)"
|
||||
git clone --recursive --separate-git-dir="$HOME/.dotfiles" https://github.com/rehashedsalt/home.git $tempfolder
|
||||
rsync -rvl --exclude ".git" $tempfolder/ $HOME/
|
||||
rm -r $tempfolder
|
||||
git submodule update --init --recursive --git-dir="$HOME/.dotfiles" --work-tree="$HOME" $HOME/
|
Reference in New Issue
Block a user