Changed location of mac environment fix to prevent use-package issues

This commit is contained in:
Jaden Provost Maxwell-Comfort 2024-01-20 17:56:48 -08:00
parent 40363dbfe1
commit b7402062ac

View File

@ -91,16 +91,6 @@ Below are a few configuration changes to avoid TRAMP freezes when attempting to
(setq tramp-remote-shell-args "-c")
#+end_src
** MacOS Environment Fix
When using emacs on MacOS, the environment variables are not synced properly and therefore require a separate package to fix this. In this case, this package is the ~exec-path-from-shell~.
#+begin_src emacs-lisp
(use-package exec-path-from-shell
:if (memq window-system '(mac ns x))
:config (exec-path-from-shell-initialize))
#+end_src
* Package Manager
Emacs and packages. Pretty much a requirement.
@ -420,6 +410,16 @@ The Emacs dashboard package provides a nice dashboard when first starting up ema
(dashboard-setup-startup-hook))
#+end_src
** MacOS Environment Fix
When using emacs on MacOS, the environment variables are not synced properly and therefore require a separate package to fix this. In this case, this package is the ~exec-path-from-shell~.
#+begin_src emacs-lisp
(use-package exec-path-from-shell
:if (memq window-system '(mac ns x))
:config (exec-path-from-shell-initialize))
#+end_src
* Dired
Dired is a built-in package in Emacs that allows for basic file navigation. While it serves its purpose, vanilla dired is far from a good file navigator. With some basic customization however, this can be changed.