summary refs log tree commit diff
path: root/prune.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-16 18:00:42 -0400
committerJune McEnroe <june@causal.agency>2018-08-16 18:00:42 -0400
commit0460970a937191ee3ff70658503e7407d4cf6caa (patch)
treeb349321d4d920e9104603da0dd123079346b34eb /prune.sh
parentShorten .local ssh names (diff)
downloadsrc-0460970a937191ee3ff70658503e7407d4cf6caa.tar.gz
src-0460970a937191ee3ff70658503e7407d4cf6caa.zip
Port all scripts to sh
Not hard, but having to escape ( ) inside [ ] had me confused for a bit.
Diffstat (limited to '')
-rwxr-xr-xprune.sh (renamed from prune.zsh)4
1 files changed, 2 insertions, 2 deletions
diff --git a/prune.zsh b/prune.sh
index db85a9d1..31ab30cf 100755
--- a/prune.zsh
+++ b/prune.sh
@@ -1,5 +1,5 @@
-#!/usr/bin/env zsh
-set -o errexit -o nounset -o pipefail
+#!/bin/sh
+set -e -u
 
 find -L ~ -type l -lname "$PWD/*" | while read -r linkPath; do
 	rm "$linkPath"