Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
gpging the custom file
;; read the gpg agent file and set the env vars
(let ((gpg-agent-file (expand-file-name "~/.gpg-agent-info")))
(when (file-exists-p gpg-agent-file)
(message "import gpg agent file")
(lambda (line)
(unless (equal line "")
(apply 'setenv (split-string line "="))))
(insert-file-contents gpg-agent-file)
(buffer-string)) "\n"))))
;; Continue with init
(setq custom-file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment