summary refs log tree commit diff
path: root/prune.sh
diff options
context:
space:
mode:
authorC. McEnroe <programble@gmail.com>2017-09-15 11:30:20 -0400
committerC. McEnroe <programble@gmail.com>2017-09-15 11:30:20 -0400
commit147512b83552a097f770db85def0d9d446420d1b (patch)
treec0528989f271ac16d706170232579d8e91e780cc /prune.sh
parentRename files directory etc (diff)
downloadsrc-147512b83552a097f770db85def0d9d446420d1b.tar.gz
src-147512b83552a097f770db85def0d9d446420d1b.zip
Rename zsh scripts .zsh
Diffstat (limited to 'prune.sh')
-rwxr-xr-xprune.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/prune.sh b/prune.sh
deleted file mode 100755
index 09ed8d3..0000000
--- a/prune.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/env zsh
-
-# Remove symbolic links in ~ to files that no longer exist.
-
-set -o errexit -o nounset -o pipefail
-
-find -L ~ -type l -lname "$PWD/*" | while read link; do
-  rm "$link"
-  echo "$link"
-done