Fix for non-vim users

This commit is contained in:
Ain 2017-11-11 23:09:03 +00:00
parent 894b183de2
commit 8364169c27
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ function main {
done
postname="./site/posts/$date-${title// /-}.md"
echo -e "---\ntitle: ${title}\nauthor: ${author}\ndescription: \n---" >> $postname
vim $postname
${VISUAL:-vim} $postname
}
main