Update 'clone_dotfiles.sh'
This commit is contained in:
parent
b307d78d0f
commit
ae139fc2d6
|
@ -1,10 +1,12 @@
|
||||||
# Run with
|
# copy & paste & exec
|
||||||
# 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
|
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/.* ~
|
||||||
cp -r ~/dotfiles-tmp/* ~
|
cp -r ~/dotfiles-tmp/* ~
|
||||||
rm -r ~/dotfiles-tmp/
|
rm -r ~/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/
|
Loading…
Reference in New Issue