about summary refs log tree commit diff
path: root/prune.sh
blob: fabe865fd64a87e6ea4792fe7ad626009803c22d (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh
set -eu

find -L ~/.config ~/.local -type l -lname "${PWD}/*" | while read -r link; do
	echo "$link"
	rm "$link"
done