feat(create-daily): automatically open the new

...file in Vim
This commit is contained in:
Oliver Davies 2023-06-23 13:06:33 +01:00
parent 4425bd21c1
commit 71fea3036e
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ start:
create-daily date title:
#!/usr/bin/env bash
./tools/scripts/create-daily.sh {{ date }} {{ title }}
vim $(./tools/scripts/create-daily.sh {{ date }} {{ title }})
deploy sha:
rm -fr _deploy

View file

@ -31,7 +31,7 @@ sed -i "s#{{ permalink }}#archive/${year}/${month}/${day}/${slug}#" "${filepath}
# Create a commit with the appropriate date in the message
git add "${filepath}"
git commit -m "daily-email: add ${date}
git commit --quiet -m "daily-email: add ${date}
${title}"