bbatsov / projectile

Project Interaction Library for Emacs
https://docs.projectile.mx
GNU General Public License v3.0
3.99k stars 584 forks source link

How do I include some external files outside the project's root? #1884

Open NightMachinery opened 7 months ago

NightMachinery commented 7 months ago

How do I include some external files outside the project's root?

I have my scripts in ~/scripts/..., but I have several other files which I also consider part of this "project":

~/.zshenv ~/.zshrc ~/.shared.sh ~/.localScripts ~/.glances ~/.vimrc ~/.ideavimrc ~/.tmux.conf ~/.privateBTT.sh ~/.privateShell ~/.privateStartup.sh ~/.startup..private..zsh ~/.hammerspoon/init.lua

Is there a way to add these using .projectile file or sth?

I guess I could add a .projectile file to ~/ and include only the paths needed, but I don't like making the whole home directory a project. I have currently an empty .projectile file in ~/scripts.

The biggest drawback of adding the .projectile file to ~/ is that I can only have one such project.