Fix for non-vim users
This commit is contained in:
parent
894b183de2
commit
8364169c27
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ function main {
|
||||||
done
|
done
|
||||||
postname="./site/posts/$date-${title// /-}.md"
|
postname="./site/posts/$date-${title// /-}.md"
|
||||||
echo -e "---\ntitle: ${title}\nauthor: ${author}\ndescription: \n---" >> $postname
|
echo -e "---\ntitle: ${title}\nauthor: ${author}\ndescription: \n---" >> $postname
|
||||||
vim $postname
|
${VISUAL:-vim} $postname
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
Loading…
Reference in a new issue