My only concern is "what if somebody doesn't use bash?" I, for one, use zsh. Another possible issue is that somebody doesn't use `~/.bashrc` (maybe they use `~/.profile`, or maybe they keep all of their custom rules in a separate file).

Do you think you could prompt the user for their shell configuration file? You could offer `~/.bashrc` as a default value.