diff options
author | jjanzen <jjanzen@jjanzen.ca> | 2025-03-17 15:30:13 -0500 |
---|---|---|
committer | jjanzen <jjanzen@jjanzen.ca> | 2025-03-17 15:30:13 -0500 |
commit | aa49605c34bab045d8c8c9144371cf4b44b7559b (patch) | |
tree | a75e32d5b907cfaff9ebd69f9ec18805d55dabd0 | |
parent | 0a6b22205064c0075a7f66af8fbae856a3d3a864 (diff) |
system changes
-rw-r--r-- | common/.config/emacs/init.el.org | 9 | ||||
-rw-r--r-- | macos.local/flake/system/homebrew.nix.org | 1 |
2 files changed, 5 insertions, 5 deletions
diff --git a/common/.config/emacs/init.el.org b/common/.config/emacs/init.el.org index 34a6f7e..38a2019 100644 --- a/common/.config/emacs/init.el.org +++ b/common/.config/emacs/init.el.org @@ -104,11 +104,10 @@ Install and configure =visual-fill-column= to make some file types display with Make Emacs use the correct =PATH= variable as macOS fails to load the =PATH= variable from my login shell. #+begin_src emacs-lisp - (let ((path-from-shell (replace-regexp-in-string - "[ \t\n]*$" "" (shell-command-to-string - "$SHELL --login -c 'echo $PATH'")))) - (setenv "PATH" path-from-shell) - (setq exec-path (split-string path-from-shell path-separator))) + (use-package exec-path-from-shell + :init + (when (memq window-system '(mac ns x)) + (exec-path-from-shell-initialize))) #+end_src I hate macOS scroll inertia. Scrolling in one window, switching to Emacs, and hitting control occasionally changes the text size and can even cause Emacs (and my window manager for some reason) to hang forcing me to force quit Emacs. diff --git a/macos.local/flake/system/homebrew.nix.org b/macos.local/flake/system/homebrew.nix.org index bc5121d..27748b8 100644 --- a/macos.local/flake/system/homebrew.nix.org +++ b/macos.local/flake/system/homebrew.nix.org @@ -53,6 +53,7 @@ Set up Homebrew. I disable the quarantine automatically and ensure that the stat "poppler" # required by emacs-plus@30 + "gcc" "imagemagick" "jansson" "jpeg" |