From 698190189caf1cbe919b759ad948dd84cd8daa04 Mon Sep 17 00:00:00 2001 From: tosu Date: Mon, 27 Feb 2023 01:20:43 +0100 Subject: [PATCH] Update 'clone_dotfiles.sh' --- clone_dotfiles.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clone_dotfiles.sh b/clone_dotfiles.sh index 9557278..28a44a9 100644 --- a/clone_dotfiles.sh +++ b/clone_dotfiles.sh @@ -4,7 +4,7 @@ $(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 rm) -rf ~/dotfiles-tmp/ -$(type -P rm) ~/.git +$(type -P rm) -rf ~/.git # OR (for push/pull) @@ -13,4 +13,4 @@ $(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 rm) -rf ~/dotfiles-tmp/ -$(type -P rm) ~/.git \ No newline at end of file +$(type -P rm) -rf ~/.git \ No newline at end of file