From b7f416f3a8999c30fc066077aecc4eaf13591591 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Mon, 29 Mar 2021 14:07:38 -0400 Subject: [PATCH] Improve GPG integration --- config.org | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/config.org b/config.org index de1023a..a09db5d 100644 --- a/config.org +++ b/config.org @@ -615,8 +615,7 @@ Company-box adds icons. *** Magit # TODO: Write a command that commits hunk, skipping staging step. #+begin_src emacs-lisp - (use-package magit - :hook (magit-mode-hook. pinentry-start)) + (use-package magit) #+end_src *** Colored diff in line number area #+begin_src emacs-lisp @@ -770,12 +769,14 @@ No more clogging up init.el. ** GPG #+begin_src emacs-lisp (use-package epa-file - :straight (:type built-in)) - (setq epa-file-select-keys nil - epa-file-encrypt-to '("me@armaanb.net") - password-cache-expiry (* 60 15)) + :straight (:type built-in) + :custom + (epa-file-select-keys nil) + (epa-file-encrypt-to '("me@armaanb.net")) + (password-cache-expiry (* 60 15))) - (use-package pinentry) + (use-package pinentry + :config (pinentry-start)) #+end_src ** Pastebin #+begin_src emacs-lisp -- 2.39.2