I'm quite a newbe. I was wandering: is it possible to see the last paths used in terminal (bash, whatever.., I use a Mac), something like what you do with recent commands?

I often use the terminal on the same paths (generally the same project) for several days. To me, it's quite annoying to search for the same path every morning when I open the terminal.