all repos — nixfiles @ 6ad10b9f40527a2e7c279734361fc0e13f5ee373

System and user configuration, managed by nix and home-manager

emacs: get PATH from shell on darwin

Alan Pearce
commit

6ad10b9f40527a2e7c279734361fc0e13f5ee373

parent

82ff4bb086e29e3cdac7fb35230a2e26c325bae4

1 file changed, 5 insertions(+), 0 deletions(-)

changed files
M user/settings/emacs/init.eluser/settings/emacs/init.el
@@ -109,6 +109,11 @@ (disable-theme dark-mode-theme)
(enable-theme light-mode-theme))) (modify-all-frames-parameters '((ns-appearance mode))))) +(use-package exec-path-from-shell + :if (eq system-type 'darwin) + :config (progn + (exec-path-from-shell-initialize))) + (global-set-key (kbd "<pinch>") 'ignore) (global-set-key (kbd "<C-wheel-up>") 'ignore) (global-set-key (kbd "<C-wheel-down>") 'ignore)