fix .bashrc patching