From 573c618701396b612a48484b32712deae05b4010 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Mon, 12 Mar 2018 12:04:20 +0100 Subject: [PATCH] Emacs: added exec-path-from-shell package --- emacs/emacs.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/emacs/emacs.el b/emacs/emacs.el index d65d637..b0d83bf 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -1238,3 +1238,11 @@ ;; An emacs minor mode for smooth scrolling ;; https://github.com/andre-r/centered-cursor-mode.el (use-package centered-cursor-mode) + +;; exec-path-from-shell +;; get environmet variables +(use-package exec-path-from-shell + :init + (exec-path-from-shell-initialize) + (exec-path-from-shell-copy-env "SSH_AUTH_SOCK") + (exec-path-from-shell-copy-env "SSH_AGENT_PID"))