all repos — dotfiles @ 6173b0387d9272dc6064d76bca5a1373f3eedf86

my *nix dotfiles

darwin/home/.mailrc (view raw)

 1set v15-compat
 2set netrc-lookup
 3set netrc-pipe='gpg -qd ~/.netrc.gpg'
 4set sendcharsets=utf-8,iso-8859-1
 5set reply-in-same-charset
 6set fullnames
 7set followup-to followup-to-honour=ask-yes
 8
 9account "personal" {
10    localopts yes
11    set from="Anirudh Oppiliappan <x@icyphox.sh>"
12    set folder=~/mail/personal
13    set record=+Sent
14    set inbox=+Inbox
15    set mta=smtps://smtp.migadu.com:465
16    shortcut fwc "+Free Writers Club" \
17        sent +Sent \
18        inbox +Inbox \
19        drafts +Drafts \
20        trash +Trash \
21        archive +Archive \
22        spam +Junk
23}
24
25set prompt='> '
26set colour-pager crt
27
28colour 256 sum-dotmark ft=bold,fg=13 dot
29colour 256 sum-header fg=007 older
30colour 256 sum-header bg=253,fg=white dot
31colour 256 sum-header fg=white
32colour 256 sum-thread bg=008 dot
33colour 256 sum-thread fg=cyan
34
35account personal
36set askattach
37set markanswered
38set autocollapse
39set reply-to-honour
40set editalong
41set history-gabby=all 
42set history-file=~/.s-nailhist
43set autosort=date
44
45set pipe-text/html='w3m -T text/html -dump'
46set pipe-image/png='feh -'
47set pipe-image/jpg='feh -'
48set pipe-image/jpeg='feh -'
49set pipe-application/pdf='zathura -'
50
51define trash {
52    move "$@" +Trash
53}
54commandalias del call trash
55
56retain date from to cc subject
57set mime-counter-evidence=0xE
58
59define sync {
60    !mbsync -a
61    newmail
62}
63commandalias n call sync
64commandalias mv mimeview
65
66define signature {
67    vput ! sig cat ~/.signature
68    vput csop message-inject-tail trim-end $sig
69}
70
71set on-compose-leave=signature