summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-07-21 00:05:26 +0200
committerdavidovski <david@davidovski.xyz>2023-07-21 00:05:26 +0200
commited5d2fa43ec7508b3356712bae45dc50f27db9ef (patch)
tree175708e1304281e9795901dcf5336768eecc1ad7
parent045ab662bb15d9a13d4d58ef609f643b9ae0889d (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