dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit d49034431baf7c3137a8610385e415438698db54
parent d71c9e5bdc29efa588d84e094922a3e6b80acec9
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 26 Sep 2019 17:38:42 +0200

Use native sendmail, fix make-install alias on openbsd

Diffstat:
M.config/mutt/muttrc | 18++----------------
M.config/sh/commands | 6+++++-
2 files changed, 7 insertions(+), 17 deletions(-)

diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc @@ -8,22 +8,8 @@ folder-hook adamsgaard 'set \ from="Anders Damsgaard <anders@adamsgaard.dk> "\ realname="Anders Damsgaard"\ record=+adamsgaard/Sent\ - postponed=+adamsgaard/Drafts\ - sendmail = "msmtp -a adamsgaard"' - -folder-hook geomail 'set \ - from="Anders Damsgaard <anders.damsgaard@geo.au.dk> "\ - realname="Anders Damsgaard"\ - record=+geomail/Sent\ - postponed=+geomail/Drafts\ - sendmail = "msmtp -a geomail"' - -folder-hook princeton 'set \ - from="Anders Damsgaard <andersd@princeton.edu> "\ - realname="Anders Damsgaard"\ - record=+princeton/Sent\ Items\ - postponed=+princeton/Drafts\ - sendmail = "msmtp -a princeton"' + postponed=+adamsgaard/Drafts' + #sendmail = "msmtp -a adamsgaard"' # ignore own e-mail addresses from group-reply alternates anders@adamsgaard.dk|anders@andersdamsgaard.com|anders@andersdamsgaard.dk|prints@andersdamsgaard.com|prints@andersdamsgaard.dk|adamsgaard@ucsd.edu|adamsgaard@mail.ucsd.edu|andersd@risuep.net|andersdc@gmail.com|adc@geo.au.dk|anders.damsgaard@au.dk|anders.damsgaard@geo.au.dk|andersd@princeton.edu|andersd@exchange.Princeton.EDU|anders.damsgaard@noaa.gov diff --git a/.config/sh/commands b/.config/sh/commands @@ -59,7 +59,11 @@ alias dotfiles-commit="dotfiles commit -a -S -v; dotfiles push" alias m="make" alias mc="make clean" alias me="make edit" -alias mi="sudo make install" +if type doas >/dev/null 2>&1; then + alias mi="doas make install" +else + alias mi="sudo make install" +fi alias date-denmark='TZ=Europe/Copenhagen date' alias date-eastern='TZ=US/Eastern date'