feat(create-daily): automatically open the new
...file in Vim
This commit is contained in:
parent
4425bd21c1
commit
71fea3036e
2 changed files with 2 additions and 2 deletions
2
justfile
2
justfile
|
@ -8,7 +8,7 @@ start:
|
||||||
|
|
||||||
create-daily date title:
|
create-daily date title:
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
./tools/scripts/create-daily.sh {{ date }} {{ title }}
|
vim $(./tools/scripts/create-daily.sh {{ date }} {{ title }})
|
||||||
|
|
||||||
deploy sha:
|
deploy sha:
|
||||||
rm -fr _deploy
|
rm -fr _deploy
|
||||||
|
|
|
@ -31,7 +31,7 @@ sed -i "s#{{ permalink }}#archive/${year}/${month}/${day}/${slug}#" "${filepath}
|
||||||
|
|
||||||
# Create a commit with the appropriate date in the message
|
# Create a commit with the appropriate date in the message
|
||||||
git add "${filepath}"
|
git add "${filepath}"
|
||||||
git commit -m "daily-email: add ${date}
|
git commit --quiet -m "daily-email: add ${date}
|
||||||
|
|
||||||
${title}"
|
${title}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue