summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-22 16:41:11 -0500
committerJune McEnroe <june@causal.agency>2020-12-22 16:41:11 -0500
commite4121f04398c9b2714a68ac1292ae1116b70587b (patch)
tree0122fc7bf6f17b3deb58d1e055bebeb83590ac51
parentMatch the number part of the argument to :RFC (diff)
downloadsrc-e4121f04398c9b2714a68ac1292ae1116b70587b.tar.gz
src-e4121f04398c9b2714a68ac1292ae1116b70587b.zip
Limit prune.sh to ~/.config ~/.local
Otherwise macOS gets very mad as it tries to access a bunch of protected
directories.
Diffstat (limited to '')
-rw-r--r--prune.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/prune.sh b/prune.sh
index d41c6bc6..fabe865f 100644
--- a/prune.sh
+++ b/prune.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -eu
 
-find -L ~ -type l -lname "${PWD}/*" | while read -r link; do
+find -L ~/.config ~/.local -type l -lname "${PWD}/*" | while read -r link; do
 	echo "$link"
 	rm "$link"
 done