I am trying to implement the solution found here. However, a coworker suggested that instead of adding functions directly to a .bash_profile or .bashrc file that instead, the custom scripts be put in their own file and soft linked in /usr/bin. I've done this (and made the script executable), but it doesn't seem to work. I think the functions have to be exported, but I'm not sure how.
How do I export the custom script functions so that they will be on the path? eg: So I can run them like any other command.
I've found this (and tried it), but it still doesn't seem to work, I'm not sure what I'm doing wrong now...