diff --git a/newpost.sh b/newpost.sh index 29e238d..912fdfc 100755 --- a/newpost.sh +++ b/newpost.sh @@ -26,7 +26,6 @@ function main { confirmation read conf done - set -x postname="./posts/$date-${title// /-}.md" echo -e "---\ntitle: ${title}\nauthor: ${author}\ntags: \ndescription: \n---" >> $postname vim $postname