like most folks, I'm occasionally installing things or writing/using scripts that are sourced from outside my distros repositories or "handmade", so they might not end up in the systems default path, or should not be added to that.
Now there is different ways to proceed.
Something that I might only want to run occasionally or only need to run in a certain directory anyways can stay as it is since
cd ~/stuff/fancyapp and then
./fancyexecutable is good enough.
But sometimes, I might want to be able to simply do something like
backup.sh from whatever location I'm in or other programs need to be aware of a certain executable, and for this, I can update my $PATH with something like
export PATH and restarting my session. However, this leads me to the issue of either having a "home bin" where I move/symlink every executable into
~/bin/, or when I want to have an oderly home bin, having to add every single subdirectory to my path.
(Or, I could hack something together to make path recursive)
So what is the proper, recommended and secure way of dealing with your own
bin that will have multiple executables and subdirectories?