mirror of
https://git.davidovski.xyz/davidovski.git
synced 2024-08-15 00:43:29 +00:00
remove new.sh
This commit is contained in:
parent
045ab662bb
commit
ed5d2fa43e
1 changed files with 0 additions and 13 deletions
13
new.sh
13
new.sh
|
@ -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
|
Loading…
Reference in a new issue