One of my Macs is running Mac OS Mojave and so for parity with my Catalina machine I switched the shell to zsh. Not sure exactly when but at some point I noticed the current working directory was never being displayed either in the prompt itself or in the title of the tab.
I found I way to restore the title to the prompt by adding this to my ~/.zprofile
file: PROMPT='%~ '
. However, I have not been able to restore the directory name to the tab title:
This is quite frustrating when dealing with multiple tabs, as I do daily. It would seem to me that everything in the Terminal's settings is correct:
Am I missing something or have I encountered a strange bug?