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
light'> 2019-10-23Don't assume commands have targets and handle ERRORJune McEnroe 2019-10-23Clean up state somewhatJune McEnroe 2019-10-23Actually send the buffer...June McEnroe 2019-10-23Add stateJune McEnroe