diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-06-01 22:49:02 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-06-01 22:49:02 -0500 |
commit | 49ccba7ede760983c120d82d17f7f534cfbb4882 (patch) | |
tree | 2c152db811d9b152651adbd03710f25f6988ea5d | |
parent | 2619335ddabf738b736832febfd92b970581faa6 (diff) |
build: blacklist ~/.config from `make clean`
-rw-r--r-- | makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |