surf/edit_screen.sh

6 lines
111 B
Bash
Raw Normal View History

#!/bin/sh
tmpfile=$(mktemp /tmp/st-edit.XXXXXX)
trap 'rm "$tmpfile"' 0 1 15
cat > "$tmpfile"
2021-03-14 15:48:53 +01:00
emacs "$tmpfile"