working system
This commit is contained in:
commit
e0ad4ea627
53 changed files with 2927 additions and 0 deletions
18
lisp/init-exec-path.el
Normal file
18
lisp/init-exec-path.el
Normal file
|
@ -0,0 +1,18 @@
|
|||
;;; init-exec-path.el --- Set up exec-path to help Emacs find programs -*- lexical-binding: t -*-
|
||||
;;; Commentary:
|
||||
;;; Code:
|
||||
|
||||
(require-package 'exec-path-from-shell)
|
||||
|
||||
(with-eval-after-load 'exec-path-from-shell
|
||||
(dolist (var '("SSH_AUTH_SOCK" "SSH_AGENT_PID" "GPG_AGENT_INFO" "LANG" "LC_CTYPE" "NIX_SSL_CERT_FILE" "NIX_PATH"))
|
||||
(add-to-list 'exec-path-from-shell-variables var)))
|
||||
|
||||
|
||||
(when (or (memq window-system '(mac ns x pgtk))
|
||||
(unless (memq system-type '(ms-dos windows-nt))
|
||||
(daemonp)))
|
||||
(exec-path-from-shell-initialize))
|
||||
|
||||
(provide 'init-exec-path)
|
||||
;;; init-exec-path.el ends here
|
Loading…
Add table
Add a link
Reference in a new issue