feat(create-daily): automatically open the new
...file in Vim
This commit is contained in:
parent
4425bd21c1
commit
71fea3036e
2
justfile
2
justfile
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue