From 49ccba7ede760983c120d82d17f7f534cfbb4882 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Wed, 1 Jun 2022 22:49:02 -0500 Subject: build: blacklist ~/.config from `make clean` --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 4984c53..38387bf 100644 --- a/makefile +++ b/makefile @@ -34,7 +34,7 @@ unstow: # Uninstall configuration files stow --delete */ clean: # Remove all broken symbolic links from $HOME (recursivly) - find $(HOME) -type l -exec sh -c 'for x; do [ -e "$$x" ] || rm -v "$$x"; done' _ {} + + find $(HOME) -type l -not -path '$(HOME)/.cache' -exec sh -c 'for x; do [ -e "$$x" ] || rm -v "$$x"; done' _ {} + wsl: stow # Run WSL install script ./wsl/.local/bin/wsl-installer.sh -- cgit v1.2.3-70-g09d2