Load some environment variables manually in macOS
This commit is contained in:
parent
bcc6a42f1a
commit
fb16e8a024
1 changed files with 7 additions and 5 deletions
|
|
@ -231,11 +231,7 @@
|
|||
|
||||
(setq frame-resize-pixelwise t)
|
||||
(add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
|
||||
(add-to-list 'default-frame-alist '(ns-appearance . dark))
|
||||
|
||||
(use-package exec-path-from-shell
|
||||
:config
|
||||
(exec-path-from-shell-initialize)))
|
||||
(add-to-list 'default-frame-alist '(ns-appearance . dark)))
|
||||
|
||||
(add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p)
|
||||
(add-hook 'package-menu-mode-hook #'hl-line-mode)
|
||||
|
|
@ -245,6 +241,12 @@
|
|||
:config
|
||||
(envrc-global-mode))
|
||||
|
||||
(use-package exec-path-from-shell
|
||||
:if (and (eq system-type 'darwin) (display-graphic-p))
|
||||
:config
|
||||
(exec-path-from-shell-initialize)
|
||||
(exec-path-from-shell-copy-envs '("LOGSEQ_DIR")))
|
||||
|
||||
(use-package flycheck
|
||||
:hook (clojure-mode . flycheck-mode))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue