remove new.sh

This commit is contained in:
davidovski 2023-07-21 00:05:26 +02:00
parent 045ab662bb
commit ed5d2fa43e

13
new.sh
View file

@ -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