diff options
Diffstat (limited to '')
-rwxr-xr-x | prune.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/prune.sh b/prune.sh index af2379e5..cc6e2444 100755 --- a/prune.sh +++ b/prune.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env zsh # Remove symbolic links in ~ to files that no longer exist. @@ -7,6 +7,6 @@ set -o errexit -o nounset -o pipefail paths=$(find -L ~ -type l -lname "$PWD/*") for path in $paths; do - rm $path - echo $path + rm "$path" + echo "$path" done |