mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-21 19:18:41 +00:00
[emacs] update mbsync config
This commit is contained in:
parent
14df1468e9
commit
b5341a781c
1 changed files with 10 additions and 3 deletions
|
@ -1055,11 +1055,18 @@ Show linked org document sections inline.
|
|||
**** Locating the certificate file
|
||||
#+name: mbsync-certificate-file
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(let ((prefixes '("/usr/local/etc/ssl"
|
||||
"/usr/local/etc/openssl"
|
||||
"/usr/local/etc/openssl@1.1"
|
||||
"/etc/ssl"))
|
||||
(certs '("cert.pem"
|
||||
"certs/ca-certificates.crt")))
|
||||
(seq-find #'file-exists-p
|
||||
'("/etc/ssl/certs/ca-certificates.crt"
|
||||
"/usr/local/etc/openssl/certs/ca-certificates.crt"
|
||||
"/usr/local/etc/openssl/cert.pem"))
|
||||
(cl-loop for prefix in prefixes
|
||||
for certpaths = (mapcar (lambda (c) (concat prefix "/" c)) certs)
|
||||
append certpaths)))
|
||||
#+end_src
|
||||
|
||||
*** Personal Gmail Account
|
||||
#+begin_src conf :noweb yes
|
||||
IMAPAccount personal
|
||||
|
|
Loading…
Reference in a new issue