changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > home / .stash/scripts/new-mail.sh

changeset 50: 4ff9d125b31f
parent: 953c5127546a
author: Richard Westhaver <ellis@rwest.io>
date: Mon, 01 Jul 2024 21:45:11 -0400
permissions: -rwxr-xr-x
description: paredit keys
1 #!/bin/sh
2 attach_cmds=""
3 while [ $# -gt 0 ]; do
4  fullpath=$(readlink --canonicalize "$1")
5  attach_cmds="$attach_cmds (mml-attach-file \"$fullpath\")"
6  shift
7 done
8 emacsclient -a '' -c -e "(progn (compose-mail) $attach_cmds)"