1 ;;; init-exec-path.el --- Set up exec-path to help Emacs find programs -*- lexical-binding: t -*-
5 (require-package 'exec-path-from-shell
)
7 (with-eval-after-load 'exec-path-from-shell
8 (dolist (var '("SSH_AUTH_SOCK" "SSH_AGENT_PID" "GPG_AGENT_INFO" "LANG" "LC_CTYPE" "NIX_SSL_CERT_FILE" "NIX_PATH"))
9 (add-to-list 'exec-path-from-shell-variables var
)))
12 (when (or (memq window-system
'(mac ns x pgtk
))
13 (unless (memq system-type
'(ms-dos windows-nt
))
15 (exec-path-from-shell-initialize))
17 (provide 'init-exec-path
)
18 ;;; init-exec-path.el ends here