12 lines
373 B
Bash
12 lines
373 B
Bash
# Run with
|
|
# curl https://git.timo.one/tosu/pastebin/raw/branch/main/clone_dotfiles.sh | sh
|
|
git clone --separate-git-dir=$HOME/.dotfiles https://git.timo.one/tosu/dotfiles.git $HOME/dotfiles-tmp
|
|
# OR (for push/pull)
|
|
git clone --separate-git-dir=$HOME/.dotfiles gt:tosu/dotfiles $HOME/dotfiles-tmp
|
|
|
|
|
|
|
|
cp -r ~/dotfiles-tmp/.* ~
|
|
cp -r ~/dotfiles-tmp/* ~
|
|
rm -r ~/dotfiles-tmp/
|