Fix absolute paths in mail stack

This commit is contained in:
coolneng 2019-08-29 23:22:18 +02:00
parent 6e8ff759b0
commit 741a7f300b
5 changed files with 15 additions and 16 deletions

View File

@ -2,8 +2,8 @@
defaults defaults
auth on auth on
tls on tls on
tls_trust_file /usr/local/share/certs/ca-root-nss.crt tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.msmtp.log logfile /tmp/msmtp.log
# Accounts # Accounts
account gmail account gmail
host smtp.gmail.com host smtp.gmail.com

View File

@ -1,4 +1,4 @@
macro index,pager i1 '<sync-mailbox><enter-command>source "/home/coolneng/.config/neomutt"/accounts/gmail.muttrc<enter><change-folder>!<enter>' macro index,pager i2 '<sync-mailbox><enter-command>source "/home/coolneng/.config/neomutt"/accounts/gmail.muttrc<enter><change-folder>!<enter>'
source /home/coolneng/.config/neomutt/accounts/gmail.muttrc source /home/coolneng/.config/neomutt/accounts/gmail.muttrc
macro index,pager i2 '<sync-mailbox><enter-command>source "/home/coolneng/.config/neomutt"/accounts/uni.muttrc<enter><change-folder>!<enter>' macro index,pager i1 '<sync-mailbox><enter-command>source "/home/coolneng/.config/neomutt"/accounts/uni.muttrc<enter><change-folder>!<enter>'
source /home/coolneng/.config/neomutt/accounts/uni.muttrc source /home/coolneng/.config/neomutt/accounts/uni.muttrc

View File

@ -1,4 +1,4 @@
#!/usr/local/bin/python3.6 #!/bin/python3
import re import re
import sys import sys

4
vim/.vim/filetype.vim Normal file
View File

@ -0,0 +1,4 @@
augroup filetypedetect
" Mail
autocmd BufRead,BufNewFile *neomutt-* setfiletype markdown
augroup END

View File

@ -10,17 +10,12 @@ set nofoldenable
set expandtab set expandtab
set tabstop=2 set tabstop=2
set shiftwidth=2 set shiftwidth=2
" Don't litter swp files everywhere ""Don't litter swp files everywhere
set backupdir=~/.cache set backupdir=~/.cache
set directory=~/.cache set directory=~/.cache
""Keybindings ""Keybindings
set pastetoggle=<F2> set pastetoggle=<F2>
map <Space> :noh<CR> map <Space> :noh<CR>
"" Mail
au FileType mail
\ if expand('%p') =~ '^/tmp/neomutt-' |
\ set ft=markdown |
\ endif
""Markdown ""Markdown
au FileType markdown Goyo au FileType markdown Goyo
let g:markdown_fenced_languages = ['cpp', 'python', 'java', 'sql'] let g:markdown_fenced_languages = ['cpp', 'python', 'java', 'sql']