I've written a bash function called up which I share via github. Now I'm struggling with installation instructions. I know of two options to 'install' bash functions:put them into .bashrcput them into a file called .bash_functions and source that file into .bashrcSo, my idea would be to suggest downloading the function and modify the .bashrc file accordingly.I investigated how similar projects implement this and some of them even manipulate the .bashrc file on installation (i.e. they put the function in there). It seems pretty common to do this but I feel that manipulating the .bashrc automatically is a bad idea.So, what's the preferred way? Is there some consensus about this?
Preferred way to install bash functions?
bash;software installation