all repos — dotfiles @ 7aea05e57ad97627f5907f1e8e220b61cc467254

my *nix dotfiles

home/.mailrc (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
set v15-compat
set netrc-lookup
set netrc-pipe='gpg2 -qd ~/.netrc.gpg'
set sendcharsets=utf-8,iso-8859-1
set reply-in-same-charset
set fullnames
set followup-to followup-to-honour=ask-yes

account "personal" {
    localopts yes
    set from="Anirudh Oppiliappan <x@icyphox.sh>"
    set folder=~/mail/personal
    set record=+Sent
    set inbox=+Inbox
    set mta=smtps://smtp.migadu.com
    shortcut fwc "+Free Writers Club" \
        sent +Sent \
        inbox +Inbox \
        drafts +Drafts \
        trash +Trash \
        archive +Archive \
        spam +Junk
}

set prompt='> '
set colour-pager crt

colour 256 sum-dotmark ft=bold,fg=13 dot
colour 256 sum-header fg=007 older
colour 256 sum-header bg=253,fg=white dot
colour 256 sum-header fg=white
colour 256 sum-thread bg=008 dot
colour 256 sum-thread fg=cyan

account personal
set askattach
set markanswered
set autocollapse
set reply-to-honour
set editalong
set history-gabby=all 
set history-file=~/.s-nailhist
set autosort=date

set pipe-text/html='w3m -T text/html -dump'
set pipe-image/png='feh -'
set pipe-image/jpg='feh -'
set pipe-image/jpeg='feh -'
set pipe-application/pdf='zathura -'

define trash {
    move "$@" +Trash
}
commandalias del call trash

retain date from to cc subject
set mime-counter-evidence=0xE

define sync {
    !mbsync -a
    newmail
}
commandalias n call sync
commandalias mv mimeview

define signature {
    vput ! sig cat ~/.signature
    vput csop message-inject-tail trim-end $sig
}

set on-compose-leave=signature