Skip to content

Commit 9c2c776

Browse files
committed
fix mise in emacs
1 parent 2be4878 commit 9c2c776

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

shared/tools/emacs/config/config.org

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,11 +755,22 @@ Use =C-h .= to look up documentation of thing at point.
755755
(setq eldoc-echo-area-prefer-doc-buffer t)
756756
#+end_src
757757
** Mise
758+
Shared mise configuration:
758759
#+begin_src elisp
759760
(use-package mise
760761
:ensure t
761762
:hook (after-init . global-mise-mode))
762763
#+end_src
764+
765+
macOS-specific PATH and mise executable:
766+
#+begin_src elisp :tangle (if (eq system-type 'darwin) "yes" "no")
767+
(use-package exec-path-from-shell
768+
:ensure t
769+
:config
770+
(exec-path-from-shell-initialize))
771+
772+
(setq mise-executable (expand-file-name "~/.local/bin/mise"))
773+
#+end_src
763774
** Eglot
764775
Attaches eglot to every programming language buffer:
765776
#+begin_src emacs-lisp

0 commit comments

Comments
 (0)