How to set iTerm2 window and tab bar to show current path

I tend not to use tabs and instead have a bunch of windows so I originally wanted to know how I could set my window title bar to show the current path, but in this post I’ll share how to do both in iTerm2. Here is a screenshot of the iTerm2 Preferences window showing Profiles -> Window. For …