minor mode to cause shell buffers to reflect the working directory