surf

Mahdi's build of surf
git clone git://mahdi.pw/surf.git
Log | Files | Refs | README | LICENSE

surf-edit-source (121B)


      1 #!/bin/sh
      2 tmpfile=$(mktemp /tmp/st-edit.XXXXXX)
      3 trap  'rm "$tmpfile"' 0 1 15
      4 cat > "$tmpfile"
      5 st -e "$EDITOR" "$tmpfile"