dotfiles

commit 8e0595678149fca684bb53951e88615653d555af

Author: Honza Pokorny <me@honza.ca>

emacs: unignore some vals from env

 doom.d/init.el | 6 ++++++


diff --git a/doom.d/init.el b/doom.d/init.el
index 297958f01320ffd701e19512d29703e10bf4df9f..48117c274605e5f85e8c05f3419e902633b03b67 100644
--- a/doom.d/init.el
+++ b/doom.d/init.el
@@ -178,3 +178,9 @@
        :config
        ;;literate
        (default +bindings +smartparens))
+
+(when noninteractive
+  (setq doom-env-ignored-vars (delete "^\\(SSH\\|GPG\\)_TTY" doom-env-ignored-vars))
+  (setq doom-env-ignored-vars (delete "^GPG_AGENT_INFO"      doom-env-ignored-vars))
+  (setq doom-env-ignored-vars (delete "^SSH_AGENT_PID$"      doom-env-ignored-vars))
+  (setq doom-env-ignored-vars (delete "^SSH_AUTH_SOCK$"      doom-env-ignored-vars)))