Update 'clone_dotfiles.sh'
This commit is contained in:
parent
048f4d1774
commit
c0b62c0b2f
|
@ -2,7 +2,6 @@
|
|||
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/.* ~
|
||||
$(type -P cp) -r ~/dotfiles-tmp/* ~
|
||||
$(type -P rm) -rf ~/dotfiles-tmp/
|
||||
$(type -P rm) ~/.git
|
||||
|
@ -12,7 +11,6 @@ $(type -P rm) ~/.git
|
|||
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/.* ~
|
||||
$(type -P cp) -r ~/dotfiles-tmp/* ~
|
||||
$(type -P rm) -rf ~/dotfiles-tmp/
|
||||
$(type -P rm) ~/.git
|
Loading…
Reference in New Issue