I am interested in knowing if there is a best practice for placing/storing custom shell (Bash/Zsh) scripts and it's related PATH location.
I know folks have their favorite places - I usually dumped mine in
/opt/local/bin but that required root permissions (
sudo) and it was "intermixed" with all the stuff from MacPorts; thus it was unorganized to say the least. So, this is not what I'm looking for - an opinion of what each individual liked best.
Is there a generally accepted recommendation of a location/methodology to store custom scripts both system wide (all users) for individual users' own personal scripts (maybe in their home directory?) and if necessary (and available), how to structure the PATH?