summary refs log tree commit diff
path: root/bin/edit.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-10-29 12:15:04 -0400
committerJune McEnroe <june@causal.agency>2020-10-29 12:15:04 -0400
commitac378113a257899342036b28224f7ae3a854f7ce (patch)
treeffe0b94690ce21eb130fda27dc96f57f1889ec47 /bin/edit.sh
parentSwitch gr alias back to git rebase (diff)
downloadsrc-ac378113a257899342036b28224f7ae3a854f7ce.tar.gz
src-ac378113a257899342036b28224f7ae3a854f7ce.zip
Remove edit
Diffstat (limited to '')
-rw-r--r--bin/edit.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/bin/edit.sh b/bin/edit.sh
deleted file mode 100644
index c276707f..00000000
--- a/bin/edit.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-set -eu
-
-script=$(mktemp)
-trap "rm -f '$script'" EXIT
-
-sed "s/.*/${1:-: &}/" >> "$script"
-$EDITOR "$script"
-sh -eux "$script"