Adds function to bashrc, vim plugins.