From 90ede066a4413c311c664e6285cdfa9daf177b91 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 2 Aug 2023 22:07:58 +0200 Subject: [PATCH] Remove existing zsh config if present --- install_user.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install_user.sh b/install_user.sh index 874e605..cd5e9d8 100755 --- a/install_user.sh +++ b/install_user.sh @@ -46,6 +46,7 @@ yay -S --noconfirm --needed \ # ~/.config/zsh/.zshenv to your home directory. mkdir -p ~/.config cp -ra home/.config/shell ~/.config +rm -rf ~/.config/zsh/ || true # in case there is already some zsh config cp -ra home/.config/zsh ~/.config rm -rf ~/.config/zsh/.zgenom git clone https://github.com/jandamm/zgenom ~/.config/zsh/.zgenom