summary refs log tree commit diff
path: root/bin/edit.sh
blob: c276707fd3d1af1d218f4789c932af3dac56c11c (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -eu

script=$(mktemp)
trap "rm -f '$script'" EXIT

sed "s/.*/${1:-: &}/" >> "$script"
$EDITOR "$script"
sh -eux "$script"
erings of man pagesJune McEnroe 2020-09-11Install mandoc on macOSJune McEnroe 2020-09-11Rewrite install script yet againJune McEnroe 2020-09-11Remove NetBSD from install scriptJune McEnroe 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe 2020-09-07Add SunglassesJune McEnroe 2020-09-06Add Between the BreathsJune McEnroe 2020-09-04Open /dev/tty in nudgeJune McEnroe 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe 2020-08-29Add tweets from retweetsJune McEnroe