I created a command line ruby gem and would like to have bash or zsh completion. I created and versionned them, but I have to source them manually.
Is there a common way to execute scripts after the gem install, for example to edit the bashrc or zshrc and add the source command?