summaryrefslogtreecommitdiff
path: root/new.sh
diff options
context:
space:
mode:
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