add function to .bashrc