diff options
Diffstat (limited to '.config/aerc/templates')
| -rw-r--r-- | .config/aerc/templates/quoted_thanks | 8 | ||||
| -rw-r--r-- | .config/aerc/templates/thanks | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/.config/aerc/templates/quoted_thanks b/.config/aerc/templates/quoted_thanks new file mode 100644 index 0000000..5e22fd5 --- /dev/null +++ b/.config/aerc/templates/quoted_thanks @@ -0,0 +1,8 @@ +X-Sourcehut-Patchset-Update: APPLIED + +Thanks! + +{{exec `branch="$(git branch --show-current)"; { git remote get-url --push origin; git reflog -2 "origin/$branch" --pretty=format:%h | xargs printf '%s\n' | tac; } | xargs printf "To %s\n %s..%s $branch -> $branch"` ""}} + +On {{dateFormat (.OriginalDate | toLocal) "Mon Jan 2, 2006 at 3:40 PM MST"}}, {{(index .OriginalFrom 0).Name}} wrote: +{{wrapText .OriginalText 72 | quote}} diff --git a/.config/aerc/templates/thanks b/.config/aerc/templates/thanks new file mode 100644 index 0000000..ae7a9fd --- /dev/null +++ b/.config/aerc/templates/thanks @@ -0,0 +1,5 @@ +X-Sourcehut-Patchset-Update: APPLIED + +Thanks! + +{{exec `branch="$(git branch --show-current)"; { git remote get-url --push origin; git reflog -2 "origin/$branch" --pretty=format:%h | xargs printf '%s\n' | tac; } | xargs printf "To %s\n %s..%s $branch -> $branch"` ""}} |
