diff --git a/.emacs.d/config.org b/.emacs.d/config.org index 583abc7..cb4f2c3 100644 --- a/.emacs.d/config.org +++ b/.emacs.d/config.org @@ -91,6 +91,16 @@ 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. diff --git a/.emacs.d/org.org b/.emacs.d/org.org index 2743ac2..f598eca 100644 --- a/.emacs.d/org.org +++ b/.emacs.d/org.org @@ -18,7 +18,7 @@ This installs the org package and creates a setup function to enable/disable cer (defun jm/org-roam-goto-today () (interactive) (let* ((path (format-time-string "%Y-%m-%d.org" )) - (full-path (file-name-concat org-roam-directory org-roam-dailies-directory path))) + (full-path (file-name-concat org-roam-directory "daily" path))) (if (file-exists-p full-path) (find-file full-path) (org-roam-dailies-capture-today))))