2023-03-27 09:41:04 -04:00
|
|
|
finish message:
|
|
|
|
git add .
|
|
|
|
git commit -m "{{message}}"
|
|
|
|
git push
|
|
|
|
|
2023-04-01 23:14:28 -04:00
|
|
|
create book chapter v1 v2:
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euxo pipefail
|
2024-07-25 07:27:43 -04:00
|
|
|
mkdir -p '{{book}}'
|
|
|
|
passage='{{book}}/{{chapter}}:{{v1}}-{{v2}}'
|
2023-04-01 23:14:28 -04:00
|
|
|
cd content/bible_journal
|
|
|
|
sed -e '/\$/{s/\$1/{{chapter}}/; s/\$2/{{v1}}/; s/\$3/{{v2}}/;}' -e "3s/{}/$(date +%Y-%m-%d)/" _template.txt > "${passage}.md"
|
2024-01-11 23:10:37 -05:00
|
|
|
$EDITOR + "${passage}.md"
|