Update 'clone_dotfiles.sh'

This commit is contained in:
tosu 2023-02-14 13:04:01 +01:00
parent 9e767c0260
commit 048f4d1774
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
# copy & paste & exec
builtin shopt -s dotglob
$(type -P rm) -rf ~/.dotfiles
$(type -P git) clone --separate-git-dir=$HOME/.dotfiles https://git.timo.one/tosu/dotfiles.git $HOME/dotfiles-tmp
$(type -P cp) -r ~/dotfiles-tmp/.* ~
@ -8,6 +9,7 @@ $(type -P rm) ~/.git
# OR (for push/pull)
builtin shopt -s dotglob
$(type -P rm) -rf ~/.dotfiles
$(type -P git) clone --separate-git-dir=$HOME/.dotfiles gt:tosu/dotfiles $HOME/dotfiles-tmp
$(type -P cp) -r ~/dotfiles-tmp/.* ~