bashrc: fail gracefully