Doing pwd every few minutes while coding is a real pain and a waste of time. I’m so used to seeing the full path on the DOS command prompt when I use windows. So this is what I use for bash
I got this solution from the excellent article here, which describes what the whole thing means. This works on both mac and linux.