From 46e30950b7a57f26aa60af30149deae39f9d01bb Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sat, 29 Oct 2022 20:34:52 +0200 Subject: [PATCH] Don't ignore scripts in comparison --- sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync.py b/sync.py index 255e47a..2dad0d3 100755 --- a/sync.py +++ b/sync.py @@ -178,7 +178,7 @@ def exclude_fun(diff: FileDiff) -> bool: lambda d: Path("home/.config/topgrade.toml") == d.rel_dot_file, lambda d: Path("home/.config/newsboat") in d.rel_dot_file.parents, lambda d: Path("home/.cache/zsh/history") == d.rel_dot_file and d.status is DiffStatus.CONTENT_DIFFERS, - lambda d: Path("home/.local/scripts") in d.rel_dot_file.parents, # Temporary + lambda d: Path("home/.local/scripts") in d.rel_dot_file.parents, lambda d: Path("root") in d.rel_dot_file.parents, # Temporary ]