I recently started to put all my dotfiles in a VCS, and just for complete organization, I thought of creating a personal "usr
" folder, as in a folder within the home folder that gets "merged" with the usr
directory whenever looking up commands in PATH or even man pages. Now for the questions:
- Is there any reason I shouldn't be doing this? Are there any downsides I'm not seeing, or better alternatives?
- If there aren't any downsides, how could this be achieved?
I already know of this question, but from what I understand the top answer suggests an option that would actually put files in /usr
, while I would prefer a method similar to adding a folder to PATH
, it doesn't actually move any files it just looks for them in different places.
I also looked into overlayfs, but it looks like it runs on boot. While it might be faster, I would prefer that my files are merged when I login.