summary refs log tree commit diff
path: root/prune.sh
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-01-21 17:31:18 -0500
committerJune McEnroe <programble@gmail.com>2017-01-21 17:31:18 -0500
commit2adcfc1787030ecaa9917565d43f0c2c4ab4108d (patch)
treefcdf44051f29f8131b4e82a908985062c09ee953 /prune.sh
parentGroup git aliases (diff)
downloadsrc-2adcfc1787030ecaa9917565d43f0c2c4ab4108d.tar.gz
src-2adcfc1787030ecaa9917565d43f0c2c4ab4108d.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