[Init] Fix loading environment variables when on Windows
This commit is contained in:
parent
edcce1d692
commit
46ceca79ce
2
init.el
2
init.el
|
@ -262,7 +262,7 @@ _h_ _l_ _o_k _y_ank
|
||||||
|
|
||||||
;; Environment Variables
|
;; Environment Variables
|
||||||
|
|
||||||
(when (memq system-type '(windows-nt cygwin))
|
(unless (memq system-type '(windows-nt cygwin))
|
||||||
(ignore-errors
|
(ignore-errors
|
||||||
(exec-path-from-shell-copy-envs '("SSH_AUTH_SOCK"
|
(exec-path-from-shell-copy-envs '("SSH_AUTH_SOCK"
|
||||||
"SSH_AGENT_PID"
|
"SSH_AGENT_PID"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user