bin/st-edit @ c6e6e4b4d601

eq
author Steve Losh <steve@stevelosh.com>
date Tue, 26 Mar 2019 22:05:07 -0400
parents fd1ced257076
children 80f5ec3932ae
#!/bin/sh
# see https://st.suckless.org/patches/externalpipe/editscreen.sh
tmpfile=$(mktemp /tmp/st-edit.XXXXXX)
trap  'rm "$tmpfile"' 0 1 15
cat > "$tmpfile"
st -e "nvim" "$tmpfile"