Salt
163e8568a3
It seemed like a good idea at the time, but it was completely untested up until recently
7 lines
326 B
Bash
Executable File
7 lines
326 B
Bash
Executable File
#!/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/
|