From aa3f11586147f2a9528e59688a6607d386d2b818 Mon Sep 17 00:00:00 2001 From: Jackson Taylor Date: Mon, 1 Feb 2021 19:04:54 -0500 Subject: Add local bin folder --- .local/bin/edit_screen.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 .local/bin/edit_screen.sh (limited to '.local/bin/edit_screen.sh') diff --git a/.local/bin/edit_screen.sh b/.local/bin/edit_screen.sh new file mode 100755 index 0000000..39eda14 --- /dev/null +++ b/.local/bin/edit_screen.sh @@ -0,0 +1,5 @@ +#!/bin/sh +tmpfile=$(mktemp /tmp/st-edit.XXXXXX) +trap 'rm "$tmpfile"' 0 1 15 +cat > "$tmpfile" +$TERMINAL -e "$EDITOR" "$tmpfile" -- cgit v1.2.3