summaryrefslogtreecommitdiff
path: root/new.sh
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
commit5cc7cb52b9205a89e1370b32c973580b1536558d (patch)
tree175708e1304281e9795901dcf5336768eecc1ad7 /new.sh
parent1cdffa967eea30a7947fea23e665fc1e68ffbf58 (diff)
remove new.sh
Diffstat (limited to '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