Smarter ~/.bashrc inject