blob: 26dd27cc789f356271f2556b8a80a37519f939b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#!/usr/bin/env zsh
set -o errexit -o nounset -o pipefail
# Remove broken symbolic links in ~.
find -L ~ -type l -lname "$PWD/*" | while read link; do
rm "$link"
echo "$link"
done
|