summary refs log tree commit diff
path: root/prune.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-01-21 17:31:18 -0500
committerJune McEnroe <june@causal.agency>2017-01-21 17:31:18 -0500
commit16a7e952a964da4da80ca7e2f0043e6ea5004312 (patch)
tree900d2158b83e37d9cbcc1bbece1fc649507fb063 /prune.sh
parentGroup git aliases (diff)
downloadsrc-16a7e952a964da4da80ca7e2f0043e6ea5004312.tar.gz
src-16a7e952a964da4da80ca7e2f0043e6ea5004312.zip
Use zsh for shell scripts
Diffstat (limited to 'prune.sh')
-rwxr-xr-xprune.sh6
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