surf/edit_screen.sh
2021-03-14 15:48:53 +01:00

6 lines
111 B
Bash
Executable File

#!/bin/sh
tmpfile=$(mktemp /tmp/st-edit.XXXXXX)
trap 'rm "$tmpfile"' 0 1 15
cat > "$tmpfile"
emacs "$tmpfile"