diff --git a/newpost.sh b/newpost.sh index 912fdfc..2ca5868 100755 --- a/newpost.sh +++ b/newpost.sh @@ -28,7 +28,7 @@ function main { done postname="./posts/$date-${title// /-}.md" echo -e "---\ntitle: ${title}\nauthor: ${author}\ntags: \ndescription: \n---" >> $postname - vim $postname + nvim $postname } main