You made a shell script because people unfamiliar with shell scripts might need to find files using the shell?
An alias like alias xsearch="grep -rnw -e" would probably replace what you just built and I hope anyone able to install your script could at least figure out how to edit and source their .bashrc file.
An alias like alias xsearch="grep -rnw -e" would probably replace what you just built and I hope anyone able to install your script could at least figure out how to edit and source their .bashrc file.