From f1f95d87287ae08680a93d405a77a79df90d3393 Mon Sep 17 00:00:00 2001 From: Trianta <56975502+Trimutex@users.noreply.github.com> Date: Wed, 24 Jan 2024 23:22:23 -0600 Subject: [PATCH] Make update.sh remove files missing from source --- update.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update.sh b/update.sh index 3cc7175..18c81c2 100755 --- a/update.sh +++ b/update.sh @@ -1,9 +1,9 @@ #!/bin/bash echo "Syncing dotfiles with alacritty..." -rsync --recursive ~/.config/alacritty $(dirname "$0") +rsync --delete --recursive ~/.config/alacritty $(dirname "$0") echo "Syncing dotfiles with hypr..." -rsync --recursive ~/.config/hypr $(dirname "$0") +rsync --delete --recursive ~/.config/hypr $(dirname "$0") echo "Syncing dotfiles with waybar..." -rsync --recursive ~/.config/waybar $(dirname "$0") +rsync --delete --recursive ~/.config/waybar $(dirname "$0") echo "Syncing complete!"