summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-07-21 00:05:26 +0200
committerdavidovski <david@davidovski.xyz>2023-08-09 02:42:03 +0100
commit9ac6c99826fc6a4deacd1fb2ead47920cf66cdcd (patch)
tree6a3708c53b518b26572d0c03b32f4c4c935a1004
parentbe73f369c2add5fe3b202b36600a6f4f54e92aea (diff)
remove new.sh
-rwxr-xr-xnew.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/new.sh b/new.sh
deleted file mode 100755
index 3a05034..0000000
--- a/new.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-EDITOR=nvim
-TEMPFILE=/tmp/blog_entry.md
-
-$EDITOR $TEMPFILE
-
-NAME=entries/$(head -1 $TEMPFILE | cut -d" " -f2-).html
-
-cp $TEMPFILE "$NAME"
-rm $TEMPFILE
-
-chmod +x $NAME