[Emacs] Add $HOME to ignored projects in projectile

Projectile will now stop considering $HOME as a project. This is due
to my dotfiles and the way they are managed my dotfiles manager, yadm.
This commit is contained in:
Lucien Cartier-Tilet 2021-09-18 15:50:07 +02:00
parent d1dbae1915
commit 9060067b59
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -2082,9 +2082,12 @@ with ~magit-gitflow~:
:bind-keymap :bind-keymap
("C-c p" . projectile-command-map) ("C-c p" . projectile-command-map)
:init :init
;; NOTE: Set this to the folder where you keep your Git repos! (setq projectile-switch-project-action #'projectile-dired)
(setq projectile-switch-project-action #'projectile-dired)) :config
(add-to-list 'projectile-ignored-projects "~/"))
#+end_src
#+begin_src emacs-lisp
(use-package counsel-projectile (use-package counsel-projectile
:straight (:build t) :straight (:build t)
:after (counsel projectile) :after (counsel projectile)