Update 'clone_dotfiles.sh'
This commit is contained in:
parent
c186c2d7c5
commit
92c9ddbe44
|
@ -1,14 +1,14 @@
|
||||||
# copy & paste & exec
|
# copy & paste & exec
|
||||||
\git clone --separate-git-dir=$HOME/.dotfiles https://git.timo.one/tosu/dotfiles.git $HOME/dotfiles-tmp
|
$(type -P git) clone --separate-git-dir=$HOME/.dotfiles https://git.timo.one/tosu/dotfiles.git $HOME/dotfiles-tmp
|
||||||
\cp -r ~/dotfiles-tmp/.* ~
|
$(type -P cp) -r ~/dotfiles-tmp/.* ~
|
||||||
\cp -r ~/dotfiles-tmp/* ~
|
$(type -P cp) -r ~/dotfiles-tmp/* ~
|
||||||
\rm -r ~/dotfiles-tmp/
|
$(type -P rm) -r ~/dotfiles-tmp/
|
||||||
\rm ~/.git
|
$(type -P rm) ~/.git
|
||||||
|
|
||||||
|
|
||||||
# OR (for push/pull)
|
# OR (for push/pull)
|
||||||
\git clone --separate-git-dir=$HOME/.dotfiles gt:tosu/dotfiles $HOME/dotfiles-tmp
|
$(type -P git) clone --separate-git-dir=$HOME/.dotfiles gt:tosu/dotfiles $HOME/dotfiles-tmp
|
||||||
\cp -r ~/dotfiles-tmp/.* ~
|
$(type -P cp) -r ~/dotfiles-tmp/.* ~
|
||||||
\cp -r ~/dotfiles-tmp/* ~
|
$(type -P cp) -r ~/dotfiles-tmp/* ~
|
||||||
\rm -r ~/dotfiles-tmp/
|
$(type -P rm) -r ~/dotfiles-tmp/
|
||||||
\rm ~/.git
|
$(type -P rm) ~/.git
|
Loading…
Reference in New Issue