diff --git a/init.el b/init.el index 92fea0c..01f25c4 100644 --- a/init.el +++ b/init.el @@ -603,8 +603,6 @@ Uses `my/projects-directory' to find correct directory" (emms-cache-enable) (add-hook 'emms-player-started-hook #'emms-show)) - - (use-package org :custom (org-directory "~/Documents/Org") @@ -974,6 +972,14 @@ Uses `my/projects-directory' to find correct directory" (project-eshell "Eshell") (magit-project-status "Magit"))) +(use-package project + :config + (if (file-exists-p "~/.config/") + (project-remember-projects-under "~/.config/" t)) + (if (file-exists-p "~/Projects/") + (project-remember-projects-under "~/Projects/" t)) + (project-forget-zombie-projects)) + (use-package magit :bind (("C-c g g" . magit-status) ("C-c g d" . magit-dispatch)