dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit b35c49ddd219a5a88f2eb3aac2d9e51018c6887c (patch)
parent edf5f905cfa8e4d5f41791abe7ead43b7070fa9a
Author: Alex Karle <alex@alexkarle.com>
Date:   Tue, 29 Sep 2020 00:01:01 -0400

mail: Add small .mailrc for mail(1)

The keepsave/hold behavior tripped me up the first time I used
mail(1). If you haven't seen my previous commit, I'm on a
"line-editor tools kick", and mail(1) was next on my list to
learn after ed(1).

mail(1) is pre-installed on OpenBSD, and is a quick way to read
the system mail (i.e. from cron). Previously, I'd been using
`mutt -f /var/log/$USER` as an alias, but I like the idea of
being comfortable checking the cron output on a machine where
mutt isn't installed.

This commit message brought to you by ed(1)

Diffstat:
A.mailrc | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/.mailrc b/.mailrc @@ -0,0 +1,4 @@ +# hold -- don't move read mail to user's mbox +# keepsave -- don't move write/save'd mail to user's mbox +set hold +set keepsave